files_accesscontrol icon indicating copy to clipboard operation
files_accesscontrol copied to clipboard

Wrong reported permissions on shared external storage

Open PVince81 opened this issue 2 years ago • 1 comments

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 avatar Nov 30 '21 10:11 PVince81