Skip to content

Reducing share permissions doesn't propagate over reshares #13201

Closed

Description

@PVince81

Steps to reproduce

  1. Create three users: "user1", "user2", "user3"
  2. "user1" shares a folder "test" with "user2" with all permissions
  3. "user2" reshares "test" with "user3" with all permissions
  4. "user1" removes the "update" permission from "test"
  5. "user3" uploads a file into "test"

Expected result

"user3" cannot upload to "test", as the permissions have been reduced.

Actual result

"user3" can STILL upload to "test"

Versions

ownCloud 8 a5099b0

CC @schiesbn @icewind1991 @jnfrmarks

Activity

  1. added this to the milestone on Jan 9, 2015
  2. PVince81 commented on Jan 9, 2015

    @PVince81
    ContributorAuthor

    This is not a regression, OC 6 and OC 7 also have the issue.
    According to @schiesbn this issue likely has existed since the dawn of the sharing feature.

    If we decide on introducing single list shares (#9058) such issues would be obsolete.

  3. PVince81 commented on Jan 16, 2015

    @PVince81
    ContributorAuthor

    I have the feeling that #9058 won't be scheduled any soon...
    I'll see if there's a possible quickfix for this.

  4. PVince81 commented on Jan 16, 2015

    @PVince81
    ContributorAuthor

    Wow... this seems to work now on master (a65f666)
    Permissions do propagate.

    I also tried to have u2 share a "subfolder" from "test" with u3 instead of the main folder: permissions also propagate properly.

    Also works if at the end of the chain a public link was created with allow upload: the permission is also removed when the parent loses its permission.

    Closing as fixed.

  5. locked as resolved and limited conversation to collaborators on Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions