Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A folder contained in an already shared folder with two groups appears twice for an user in these two groups. #22312

Closed
le-fractal opened this issue Feb 11, 2016 · 5 comments

Comments

@le-fractal
Copy link

A variation of #9724 with subfolders

Let's assume these folders :

/FolderA/
/FolderA/FolderB

and two groups Group1 and Group2, who both include our user

Steps to reproduce

  1. Share FolderA with Group1
  2. Share FolderB with Group2

Expected behaviour

The user already has access to FolderB through the sharing of FolderA with Group1, so the second sharing should not show up

Actual behaviour

the user has two copies of FolderB :
/FolderA/FolderB
/FolderB

Server configuration

Operating system: CentOS 6

Web server: apache

Database: mysql 5.5

PHP version: 5.4

ownCloud version: 8.1.5

Updated from an older ownCloud or fresh install: upgrade

@PVince81 PVince81 added this to the 9.0-current milestone Feb 11, 2016
@PVince81
Copy link
Contributor

Possible duplicate, I think I've seen this before.

@rullzer @schiesbn

@rullzer
Copy link
Contributor

rullzer commented Feb 11, 2016

Yes and without a big performance penalty there is not much we can do about it.

To merge those two things we need to find out for each share if (one of) the parent folders is already shared with this user. And then for the folder merge the permissions.

@rullzer
Copy link
Contributor

rullzer commented Feb 12, 2016

@PVince81 certianly not something we can fix for 9.0

@ghost ghost modified the milestones: 9.1-next, 9.0-current Feb 23, 2016
@PVince81
Copy link
Contributor

Closing in favor of other duplicate #24575

@lock
Copy link

lock bot commented Aug 4, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants