-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fixes #24827: When we have a user without administrator role, the menu "Utilities" exist but leads to a 404 #5665
base: branches/rudder/8.0
Are you sure you want to change the base?
Conversation
) / | ||
"secure" / "utilities" / "index" | ||
>> LocGroup("utilitiesGroup") | ||
>> TestAccess(() => userIsAllowed("/secure/index", AuthorizationType.Administration.Read))).submenus( |
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.
doesn't that will lock-out validator/etc who are not admin_read from accessing the change request validation screen ?
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.
I think it should only be the removal of Technique Read rights, i think it was there when techique editor was below Utilities, a looooong time ago
88cc043
to
296be8f
Compare
Fixes #24827: When we have a user without administrator role, the menu \"Utilities\" exist but leads to a 404
296be8f
to
a960f63
Compare
PR updated with a new commit |
Fixes #24827: When we have a user without administrator role, the menu \"Utilities\" exist but leads to a 404
PR updated with a new commit |
>> TestAccess(() => { | ||
userIsAllowed( | ||
"/secure/index", | ||
AuthorizationType.Administration.Read, |
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.
You still need to have workflow enabled checked. the menu should not appaear if workflow enabled is false and we don't have administrator Read. You'll still have the 404 in this case
This pr should only be removal of Technique.Read right
https://issues.rudder.io/issues/24827
toto
withtechnique_all
right