-
Notifications
You must be signed in to change notification settings - Fork 367
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
feat: [M3-7683] - Disable Create Image button with tooltiptext on Landing Page for restricted users #10671
Conversation
…ding Page for restricted users
…ing Page for restricted users
Coverage Report: ✅ |
@@ -93,6 +95,9 @@ export const ImagesLanding = () => { | |||
const { enqueueSnackbar } = useSnackbar(); | |||
const flags = useFlags(); | |||
const location = useLocation(); | |||
const isRestricted = useRestrictedGlobalGrantCheck({ |
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.
nit: same here, I would change to isImagesReadOnly
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.
Updated the variable name.
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.
Same comment as the previous PR about deleting this changeset.
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.
f0538b1
to
7109a00
Compare
Description 📝
To prevent unauthorized access to specific flows and provide clearer guidance, we aim to restrict entry to users without the required permissions.
Here, we are restricting users from creating new Image when they do not have access or have read only access.
Changes 🔄
Target release date 🗓️
Preview 📷
How to test 🧪
Prerequisites
(How to setup test environment)
Read Only
for everythingReproduction steps
Verification steps
As an Author I have considered 🤔
Check all that apply