mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-15 18:25:13 +00:00
feat: limit amount of active actions (#3143)
* max actions * fix: max allowed actions * fix: max allowed actions * fix tests
This commit is contained in:
@@ -308,7 +308,7 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
PrivacyPolicy: false,
|
||||
MetadataUser: false,
|
||||
LockoutPolicy: false,
|
||||
Actions: false,
|
||||
ActionsAllowed: domain.ActionsNotAllowed,
|
||||
},
|
||||
},
|
||||
res: res{
|
||||
@@ -512,7 +512,7 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
MetadataUser: false,
|
||||
PrivacyPolicy: false,
|
||||
LockoutPolicy: false,
|
||||
Actions: false,
|
||||
ActionsAllowed: domain.ActionsNotAllowed,
|
||||
},
|
||||
},
|
||||
res: res{
|
||||
@@ -726,7 +726,7 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
MetadataUser: false,
|
||||
PrivacyPolicy: false,
|
||||
LockoutPolicy: false,
|
||||
Actions: false,
|
||||
ActionsAllowed: domain.ActionsNotAllowed,
|
||||
},
|
||||
},
|
||||
res: res{
|
||||
@@ -950,7 +950,7 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
MetadataUser: false,
|
||||
PrivacyPolicy: false,
|
||||
LockoutPolicy: false,
|
||||
Actions: false,
|
||||
ActionsAllowed: domain.ActionsNotAllowed,
|
||||
},
|
||||
},
|
||||
res: res{
|
||||
@@ -1243,7 +1243,7 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
MetadataUser: false,
|
||||
PrivacyPolicy: false,
|
||||
LockoutPolicy: false,
|
||||
Actions: false,
|
||||
ActionsAllowed: domain.ActionsNotAllowed,
|
||||
},
|
||||
},
|
||||
res: res{
|
||||
@@ -1433,7 +1433,7 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
PrivacyPolicy: false,
|
||||
MetadataUser: false,
|
||||
LockoutPolicy: false,
|
||||
Actions: false,
|
||||
ActionsAllowed: domain.ActionsNotAllowed,
|
||||
},
|
||||
},
|
||||
res: res{
|
||||
|
||||
Reference in New Issue
Block a user