-
Notifications
You must be signed in to change notification settings - Fork 85
Add scope check for d&d menu items #6337
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
Add scope check for d&d menu items #6337
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
…nd-users-without-access-to-Data-Discovery-are-still-seeing-the-option-in-the-menu
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.
Good to add a check for this-- can we handle the case where a user has discovery_monitor:read
but not discovery_monitor:update
? This would allow a user with the former but not the latter to both view the pages and make changes, which seems potentially problematic.
Yeah you're right. I'll create a follow up ticket for that so we don't forget. This is a quick fix I made because I saw the new user (internal respondent) is supposed to be very limited but it was seeing that option in the menu. |
…Data-Discovery-are-still-seeing-the-option-in-the-menu
fides
|
Project |
fides
|
Branch Review |
main
|
Run status |
|
Run duration | 01m 04s |
Commit |
|
Committer | Lucano Vera |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
5
|
View all changes introduced in this branch ↗︎ |
Description Of Changes
Fix D&D menu items appearing for users without the required scope.
Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works