-
Notifications
You must be signed in to change notification settings - Fork 175
feat(BA-3696): Apply RBAC validator for User actions #10055
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
22 commits
Select commit
Hold shift + click to select a range
fa5095f
feat(BA-3696): Add RBAC base classes for User actions
fregataa dbd791f
feat(BA-3696): Refactor user actions to use RBAC base classes
fregataa 9993778
feat(BA-3696): Wire RBAC processors to user service
fregataa 2392663
fix(BA-3696): Fix type errors - add _domain_name field and inherit fr…
fregataa 246e5c7
changelog: add news fragment for PR #10055
fregataa 1e027c8
fix(BA-3696): Derive scope info from creator.spec instead of requirin…
fregataa 9e659ae
fix(BA-3696): Remove stale _domain_name arg and fix RBAC mock validators
fregataa 8483c26
refactor(BA-3696): Remove TYPE_CHECKING branch in CreateUserAction
fregataa d181425
fix(BA-3696): Fix circular import and email-as-entity-ID in User RBAC
fregataa 36413e7
fix(BA-3696): Pass user_uuid to ModifyUserAction and PurgeUserAction …
fregataa 97f7c15
fix(BA-3696): Fix UserCreateSpec/UserUpdateSpec imports and add missi…
fregataa f569edd
chore(BA-3696): Remove stale fix-report.md
fregataa 49c05bd
fix: sort imports to satisfy ruff I001
fregataa d5066bc
refactor: exclude search actions from RBAC validator application
fregataa 0ec2791
revert(BA-3696): Remove user UUID query from legacy GQL handlers
fregataa 37a8e71
revert(BA-3696): Restore DeleteUserAction to main state
fregataa c87aeb9
fix(BA-3696): Align DeleteUserAction references with reverted signature
fregataa 506971c
fix: remove unused imports and format after rebase
fregataa 61ad1ca
revert: restore original import paths in user repository layer
fregataa aaa5bed
fix(BA-3696): Restore UserCreateSpec/UserUpdateSpec to action files a…
fregataa 61bc7b4
fix(BA-3696): Fix circular import by keeping UserCreateSpec/UserUpdat…
fregataa fd2c026
fix(BA-3696): Import UserCreateSpec/UserUpdateSpec from types.py in r…
fregataa 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 @@ | ||
| Apply RBAC validator for User actions following the established pattern from Group, VFolder, and Session services |
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
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
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
59 changes: 44 additions & 15 deletions
59
src/ai/backend/manager/services/user/actions/create_user.py
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.