Skip to content

Possibility of 'invisible' link shares #22295

Closed

Description

@rullzer

Discovered in #22285

Since we have no way to display multiple link shares in the WebUI and we have the flat shares. There is the possibility of 'invisible' link shares.

Example:

  1. user1 shares foo with group2
  2. user2 (in group2) shares foo by link
  3. user1 unshares from group2

In the webUI user1 won't see that his file is actually still shared by link.

Activity

  1. self-assigned this
    on Feb 10, 2016
  2. added this to the milestone on Feb 10, 2016
  3. rullzer commented on Feb 10, 2016

    @rullzer
    ContributorAuthor

    I have a solution in mind. It won't scale if all 10K members of group2 share a file by link. But in the more likely scenario that there are only a few. All should work out.

  4. rullzer commented on Feb 10, 2016

    @rullzer
    ContributorAuthor

    Ok thinking more about this and I propose the following.

    Since we still have the same database layout we can make link shares hierachcical. So:

    1. user1 shares foo with user2
    2. user2 shares foo by link

    Now the link will have the share created in 1 as parent. Then when the parent is deleted we delete the share as well.

    All the logic for this is still there as I did not have time to clean it up yet. (and deleting children does not hurt when there are no children).

    @schiesbn lets discuss this tomorrow.

    @PVince81 FYI

  5. schiessle commented on Feb 11, 2016

    @schiessle
    Contributor

    discussed ith with @rullzer on IRC and I agree with this approach.

  6. lock commented on Aug 6, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions