Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor permission policy RBAC #834

Merged
merged 6 commits into from
Aug 1, 2023

Conversation

bernardo-bastos
Copy link
Collaborator

Refactors the permission policy to follow the following format: <ROLE>, <ACTION>, <ENVIRONMENT_GROUP>:<ENVIRONMENT>, <APPLICATION>, allow

The allowed actions are: CreateLock, DeleteLock, CreateRelease, DeployRelease, CreateUndeploy, DeployUndeploy, CreateEnvironment, CreateEnvironmentApplication and DeployReleaseTrain.

The following actions CreateUndeploy, DeployUndeploy and CreateEnvironmentApplication are environment independent meaning that the environment specified on the permission needs to follow the following format <ENVIRONMENT_GROUP>:*, otherwise an error will be thrown.

@bernardo-bastos bernardo-bastos requested a review from a team as a code owner August 1, 2023 13:59
@bernardo-bastos bernardo-bastos merged commit 0efdbac into main Aug 1, 2023
@bernardo-bastos bernardo-bastos deleted the bb/DSN-J1WO8X/rbac_refactor_permissions branch August 1, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants