feat: new projects (#1207)

* fix: project events

* fix: project events

* fix: project events

* fix: eventmapper

* fix: project commands

* fix: project role commands

* fix: project command side

* fix: oidc application

* fix: oidc application

* fix: reduce

* fix: reduce

* fix: project member

* fix: project grant command side

* fix: application command side

* fix: project grant member remove

* Update internal/v2/command/project.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project_application.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project_application.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/project_application.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* fix: oidc application string pw

* fix: project events

* fix: project grant member

* feat: change application to interface

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Fabi
2021-01-28 06:35:26 +01:00
committed by GitHub
parent dfcb96d6a3
commit c65331df1a
58 changed files with 3746 additions and 965 deletions

View File

@@ -158,27 +158,35 @@ Errors:
NotInactive: Project is not deactivated
NotFound: Porject not found
UserIDMissing: User ID missing
MemberNotFound: Project member not found
MemberInvalid: Project member is invalid
MemberAlreadyExists: Project member already exists
MemberNotExisting: Project member doesn't exist
Member:
NotFound: Project member not found
Invalid: Project member is invalid
AlreadyExists: Project member already exists
NotExisting: Project member doesn't exist
MinimumOneRoleNeeded: At least one role must be added
RoleAlreadyExists: Role already exists
RoleInvalid: Role is invalid
RoleNotExisting: Role doesn't exist
Role:
AlreadyExists: Role already exists
Invalid: Role is invalid
NotExisting: Role doesn't exist
IDMissing: ID missing
AppNotFound: Application not found
AppInvalid: Application invalid
AppNotExisting: Application doesn't exist
App:
AlreadyExists: Application already exists
Invalid: Application invalid
NotExisting: Application doesn't exist
IsNotOIDC: Application is not type oidc
NotActive:: Application is not active
NotInactive: Application is not inactive
OIDCConfigInvalid: OIDC configuration is invalid
AppIsNotOIDC: Application is not type oidc
OIDCAuthMethodNoneSecret: OIDC Auth Method None does not require a secret
RequiredFieldsMissing: Some required fields are missing
GrantNotFound: Grant not found
GrantInvalid: Project grant is invalid
GrantAlreadyExists: Project grant already exists
GrantNotExists: Project grant doesn't exist
GrantHasNotExistingRole: One role doesn't exist on project
Grant:
AlreadyExists: Project grant already exists
NotFound: Grant not found
Invalid: Project grant is invalid
NotExisting: Project grant doesn't exist
HasNotExistingRole: One role doesn't exist on project
NotActive: Project grant is not active
NotInactive: Project grant is not inactive
UserIDMisisng: User ID missing
OIDCSecretInvalid: Client Secret is invalid
IAM: