feat: limit amount of active actions (#3143)

* max actions

* fix: max allowed actions

* fix: max allowed actions

* fix tests
This commit is contained in:
Livio Amstutz
2022-02-02 09:04:05 +01:00
committed by GitHub
parent 585ebf9a81
commit 1367a2e139
32 changed files with 583 additions and 123 deletions

View File

@@ -2564,6 +2564,8 @@ This is an empty request
| custom_text_login | bool | - | |
| lockout_policy | bool | - | |
| actions | bool | - | |
| actions_allowed | zitadel.features.v1.ActionsAllowed | - | |
| max_actions | int32 | - | |
@@ -2754,6 +2756,8 @@ This is an empty request
| custom_text_login | bool | - | |
| lockout_policy | bool | - | |
| actions | bool | - | |
| actions_allowed | zitadel.features.v1.ActionsAllowed | - | |
| max_actions | int32 | - | |

View File

@@ -2758,6 +2758,30 @@ Change JWT identity provider configuration of the organisation
PUT: /actions/{id}
### DeactivateAction
> **rpc** DeactivateAction([DeactivateActionRequest](#deactivateactionrequest))
[DeactivateActionResponse](#deactivateactionresponse)
POST: /actions/{id}/_deactivate
### ReactivateAction
> **rpc** ReactivateAction([ReactivateActionRequest](#reactivateactionrequest))
[ReactivateActionResponse](#reactivateactionresponse)
POST: /actions/{id}/_reactivate
### DeleteAction
> **rpc** DeleteAction([DeleteActionRequest](#deleteactionrequest))