-
Notifications
You must be signed in to change notification settings - Fork 117
feat: granular permission assignment for organization members #6231
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
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
de9122d
include organization owner id in Organization type
n1ru4l 905d21a
feat: database migration
n1ru4l 022a527
transform legacy permissions to new format
n1ru4l 05b12ec
rename some things
n1ru4l edb7fd1
remove export
n1ru4l b42ae1e
move business logic for hierarchy resolution to the organization memb…
n1ru4l e3ce5d3
fix import
n1ru4l 1ba564e
expose membership permissions via GraphQL API
n1ru4l 8a046df
feat: permission picker and viewer
n1ru4l 422f62b
fix hints
n1ru4l ec66b17
db types brr
n1ru4l 0ab8aee
wip
n1ru4l e82f8c4
move default role definitions to organization-member module
n1ru4l dc5f41d
this does no longer exist
n1ru4l e5bc896
minor cleanup
n1ru4l 7e278a5
fix: permission dependencies and decoding
n1ru4l 973224f
integration tests
n1ru4l 76a3fdf
remove member assignment permissions
n1ru4l 4deca5d
clarify permissions
n1ru4l 0586df7
add warning for permissions
n1ru4l efb3394
show warning for dangerous permissions
n1ru4l bf78e8d
remove commented out code
n1ru4l ff9997e
tree structure for resources
n1ru4l 85ccba7
use permissions
n1ru4l 1171e0b
less permissions for viewers
n1ru4l 678b983
dem typings
n1ru4l 572f11a
remove null check
n1ru4l e8507df
case check
n1ru4l 054f475
merge defs
n1ru4l f2896eb
dry
n1ru4l b4e782d
changeset
n1ru4l ada6846
oops this column does not yet exist
n1ru4l 131326c
jeez
n1ru4l cafc598
assign role that could do these things
n1ru4l 24d4d05
fix: update role
n1ru4l 1eecb0d
fix: positioning
n1ru4l 22c4edf
remove app deployment describe permission
n1ru4l bf905a9
move to helpers
n1ru4l 1066f17
simplify amount of user permissions
n1ru4l bacac9e
member role resource assignments (#6354)
n1ru4l 28e9791
Merge remote-tracking branch 'origin/main' into feat-permission-membe…
n1ru4l 650c1cd
use sheet instead of dialog
n1ru4l 362ad5f
make se;ection more user-friendly
n1ru4l 342cc23
typo
n1ru4l c0b78c5
sanatize input
n1ru4l cb29617
batch
n1ru4l 1ccfadf
Merge remote-tracking branch 'origin/main' into feat-permission-membe…
n1ru4l df6d708
fix
n1ru4l 912947c
lint
n1ru4l af6f7c4
fix permission inheritance
n1ru4l 6d7acf7
unit test for resource assignment group translation
n1ru4l 4c2215e
Merge remote-tracking branch 'origin/main' into feat-permission-membe…
n1ru4l 0ac6d0e
overflow-auto
n1ru4l f182dd8
no tooltip delay
n1ru4l d2a31c5
focus ring scurr
n1ru4l d219e5b
typo
n1ru4l d679387
ai bro
n1ru4l d06ba59
access
n1ru4l File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
'hive': major | ||
--- | ||
|
||
Introduce new permission system for organization member roles. | ||
|
||
The existing scopes assigned to organization member users are now replaced with permissions. | ||
Using the permissions allows more granular access control to features in Hive. | ||
|
||
This introduces the following breaking changes: | ||
|
||
- Organization members with the default `Viewer` role, will experience downgraded permissions. They will no longer be able to create targets or projects. | ||
- Organization member roles permissions for inviting, removing or assigning roles have been revoked. A organization admin will have to re-apply the permissions to the desired member roles. | ||
- Organization members with permissions for managing invites, removing members, assigning roles or modifying roles are no longer restrained in granting more rights to other users. Please be aware when granting these permissions to a user role. We recommend only assigning these to member roles that are considered "Admin" user roles. | ||
|
||
A future update will introduce resource based access control (based on project, target, service or app deployments) for organization members. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.