Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Viewer should not see a public link to the project space #7040

Closed

Description

@v-scharf

bug probably exists, but I couldn't found

ocis docker v1.20
ownCloud Web UI 5.4.0

steps:

  • Admin creates a project space with the folder
  • Admin adds member Marie with a viewer role
  • Admin creates a public link to the space with editing permissions

Actual: Marie has not access to edit or upload file, but she see public link and so it has the ability to edit
Screenshot 2022-05-23 at 14 29 09

Expected: if Admin creates public link to the folder, Marie cannot see public link. I expected same behavior

Activity

  1. kulmann commented on May 23, 2022

    @kulmann
    Contributor

    It was a product decision that public links in project spaces are visible to all space members (but readonly).

  2. v-scharf commented on May 23, 2022

    @v-scharf
    ContributorAuthor

    It was a product decision that public links in project spaces are visible to all space members (but readonly).

    then it should not be possible to create a link with edit permissions?

  3. kulmann commented on May 23, 2022

    @kulmann
    Contributor

    It was a product decision that public links in project spaces are visible to all space members (but readonly).

    then it should not be possible to create a link with edit permissions?

    What do you mean? Can you give more context?

  4. v-scharf commented on May 23, 2022

    @v-scharf
    ContributorAuthor
    • admin creates the space
    • admin press "show members" and adds Marie as a viewer
    • admin press "show members" and creates a link with edit rights

    Marie does not have editing rights, but she can because she sees the public link. can open the link and edit

    Screenshot 2022-05-23 at 17 50 37

  5. pascalwengerter commented on May 24, 2022

    @pascalwengerter
    Contributor

    I think this is what @kulmann meant with It was a product decision that public links in project spaces are visible to all space members (but readonly). => even as a view-only share-receiver, you can see which other access-es (e.g. links) exist but can't modify them. If those have more rights than you, you could use them for modifying files yes. If the share-giver doesn't want that he can add password protection and don't share the password with Marie

  6. kulmann commented on May 24, 2022

    @kulmann
    Contributor

    Yes, thank you @pascalwengerter

    still, it feels kind of like a small exploit. cc @tbsbdr and @pmaier1 fyi

  7. v-scharf commented on May 24, 2022

    @v-scharf
    ContributorAuthor

    @pascalwengerter are right, just add a password. Sorry for messing with your head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions