-
Notifications
You must be signed in to change notification settings - Fork 461
Fixed an issue with subpaths in resources policies #2856
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
Conversation
6b82db8
to
c4a4b71
Compare
Signed-off-by: Benjamin Perez <[email protected]>
c4a4b71
to
8655ed5
Compare
Once we refresh the page, the path objects are not loaded but the breadcrumb displays the path. @bexsoft Path_Load_issue.webm |
@prakashsvmx I couldn't reproduce it. I even used an Incognito browser but no. Could you please share your steps to reproduce it? Also probably verify that you have the latest changes (it has happened to me 😄 ) |
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
Interestingly, it happens with the user who has full (e.g root user) access
It is not happening with this user where the resource policy is applied. As a user with full access, create the policy as specified in description, root_user_try.mp4 |
I was. able to reproduce this issue with provided steps, this is also happening in master right now so it is not related to this change. Will fix it in an upcoming PR |
fixes #2835
What does this do?
Fixes an issue where resources policies can return incorrect items in subpaths
How to test
my-company
and create a home folder inside itDavid
. Add files to themhome/David
insidemy-company
bucket. Files must be seenhome
, an Access Denied error must be seen.How does it look?