-
Notifications
You must be signed in to change notification settings - Fork 38
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: restricted permissions for image actions [WD-18905] #1100
Conversation
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.
Thx for making the entitlement lookups consistent. Only two questions below left, then this should be good to go.
1c75016
to
ee0531a
Compare
957f4b0
to
c1901ad
Compare
c1901ad
to
35102cc
Compare
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.
code LGTM
Thanks, are we not going to do QA? |
An open issue: |
I believe if the user does not have |
Interestingly, the image list was visible without the project viewer permission. But the upload image button was disabled, because we fail to figure out the user has that permission. |
35102cc
to
42d170c
Compare
I think that's probably because in |
42d170c
to
d3bd0bd
Compare
I wouldn't change it now. I am also not sure if it is the right thing to do. Images are project specific, after all. The project viewer permission is mandatory to have image permissions correctly applied. Maybe mention it as an issue in the doc you created. I am fine with keeping things as they are now. |
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.
Apart from the issue mentioned above, QA LGTM as well.
Okay sure, when it comes to permissions, I think we may run into a few places where the current UI structure may need to be updated/changed/improved. I've documented the above issue in the sheet for reference. |
Signed-off-by: Mason Hu <[email protected]>
Signed-off-by: Mason Hu <[email protected]>
Signed-off-by: Mason Hu <[email protected]>
Signed-off-by: Mason Hu <[email protected]>
Signed-off-by: Mason Hu <[email protected]>
…sion Signed-off-by: Mason Hu <[email protected]>
Signed-off-by: Mason Hu <[email protected]>
Signed-off-by: Mason Hu <[email protected]>
d3bd0bd
to
86b6411
Compare
a41476a
to
86b6411
Compare
Signed-off-by: Mason Hu <[email protected]>
e253487
to
277a746
Compare
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.
LGTM 👍
Done
QA