Skip to content
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

Wrong reported permissions on shared external storage #228

Open
PVince81 opened this issue Nov 30, 2021 · 1 comment
Open

Wrong reported permissions on shared external storage #228

PVince81 opened this issue Nov 30, 2021 · 1 comment
Labels

Comments

@PVince81
Copy link
Member

Steps

  1. Create an external storage "/local" of type Local applicable to the "admin" group only
  2. Create a user "alice" in group "users"
  3. Create an invisible tag "deny-this"
  4. Apply the invisible to "/local"
  5. Share "/local" with "alice" in the files app (using sharing tab)
  6. Create a rule with the clauses "tag is 'deny-this'" and "user in group 'users'"
  7. Login as "alice"
  8. Try accessing "/local"

Expected result

"/local" appears greyed out and its "data-permissions" attribute must not have the readable flag
entering the folder shows a "forbidden" error

Actual result

"/local" is not greyed out and its data-permissions has the readable flag set (31)
entering the folder shows a "forbidden" error, so it's mostly a visual issue

Versions

Nextcloud 22.3.0
files_accesscontrol v1.12.1 and stable22

@PVince81 PVince81 added the bug label Nov 30, 2021
@blizzz
Copy link
Member

blizzz commented Dec 1, 2021

Sounds like a dup of #97 ?

The reason why folders are still listed, is because otherwise etags and other checksums for the sync clients would incorrectly defer cause problems all around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants