Skip to content

Wrong reported permissions on shared external storage #228

@PVince81

Description

@PVince81

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions