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

Implement configurable default permissions #1591

Merged
merged 4 commits into from
Aug 21, 2024

Conversation

r4victor
Copy link
Collaborator

Closes #1559

This PR introduces default configurable permissions that can be configured via server/config.yml:

default_permissions:
  allow_non_admins_create_projects: false
  allow_non_admins_manage_ssh_fleets: false
projects: ...

The permissions can be user permissions (e.g. allow_non_admins_create_projects) or member permissions (e.g. allow_non_admins_manage_ssh_fleets). They are included in the API accordingly when returning users and members.

@r4victor r4victor merged commit 74f7f39 into master Aug 21, 2024
18 checks passed
@r4victor r4victor deleted the issue_1559_default_permissions branch August 21, 2024 05:25
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.

Introduce default permissions
1 participant