mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 10:17:34 +00:00
fix: checkAdditionalActionAllowed for unlimited (#3165)
This commit is contained in:
@@ -59,7 +59,7 @@ func (c *Commands) checkAdditionalActionAllowed(ctx context.Context, resourceOwn
|
||||
activeActions = append(activeActions, existingAction)
|
||||
}
|
||||
}
|
||||
if len(activeActions) < features.MaxActions {
|
||||
if features.ActionsAllowed == domain.ActionsAllowedUnlimited || len(activeActions) < features.MaxActions {
|
||||
return nil
|
||||
}
|
||||
return caos_errs.ThrowPreconditionFailed(nil, "COMMAND-dfwg2", "Errors.Action.MaxAllowed")
|
||||
|
Reference in New Issue
Block a user