-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/all/permission hardening #158
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
15 commits
Select commit
Hold shift + click to select a range
b8bcc7b
feat: Add PermissionsController for managing permission configuration…
Cemonix 90c4250
Refactor annotation and asset services to include project ID for scop…
Cemonix 8977f4f
refactor: Update asset service and controller tests to include projec…
Cemonix 5e37479
refactor: Remove permission store and related logic, transitioning to…
Cemonix e47b4bd
refactor: Introduce AuthorizationService for backend-driven permissio…
Cemonix 6220e4d
refactor: Remove permission store dependency and streamline permissio…
Cemonix 9b2bbc6
refactor: Replace permission store with backend authorization service…
Cemonix 384270e
refactor: Transition to authorization service for permission checks i…
Cemonix 1765204
refactor: Transition to authorization service for permission checks a…
Cemonix a008547
refactor: Update permission checks and streamline access control acro…
Cemonix 81e3544
refactor: Remove permission store dependency and update interceptor s…
Cemonix 3975378
refactor: Update manager role checks to use backend membership data a…
Cemonix 24dc401
refactor: Update controllers and services to include projectId in tas…
Cemonix 472d853
refactor: Update task service test methods to include projectId in ta…
Cemonix 95e8150
refactor: Update comments in AssetService to clarify asset transfer f…
Cemonix 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The synchronous permission check methods trigger async operations but return immediately with potentially stale cache data. This creates a race condition where the first call always returns false even if the user has permission. Consider returning a default value or implementing a different pattern for initial permission checks.