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

Grant wider permissions to subfolders for specific users #1085

Closed
floatingpurr opened this issue Oct 13, 2020 · 4 comments
Closed

Grant wider permissions to subfolders for specific users #1085

floatingpurr opened this issue Oct 13, 2020 · 4 comments
Assignees
Labels
0. Needs triage Issues that need to be triaged feature: acl Items related to the groupfolders ACL or "Advanced Permissions" question

Comments

@floatingpurr
Copy link

floatingpurr commented Oct 13, 2020

Short story: I have the following directories:

    foo
    |__bar
    |__other_stuff

As recommended here nextcloud/server#23380 (comment), I'm trying to harness groupfolders to share the folder foo with groupA (read only) and the folder bar with userA with write permission. I want userA to be able to modify only bar and not other_stuff. NB: userA belongs to groupA.

I created the groupfolder foo granting read permission for groupA. However, I cannot grant write permission on bar for userA (since userA belongs to groupA, I guess).

Is there a way to do that?

@floatingpurr floatingpurr changed the title Grand wider permissions to subfolders for specific users Grant wider permissions to subfolders for specific users Oct 16, 2020
@pierreozoux pierreozoux added 0. Needs triage Issues that need to be triaged feature: acl Items related to the groupfolders ACL or "Advanced Permissions" enhancement question and removed enhancement labels Mar 13, 2021
@pierreozoux
Copy link
Member

Did you try with acl? You should be able to do that.

@floatingpurr
Copy link
Author

Do you mean the standard sharing system of nextcloud? I was trying groupfolder to get rid of this problem of the standard sharing mechanism (nextcloud/server#23380 (comment))

@fschrempf
Copy link
Contributor

Is there a way to do that?

Yes, there is. Please see:

Please let me know if this is what you need, so I can close this issue. Thanks!

@fschrempf fschrempf self-assigned this Nov 5, 2021
@fschrempf
Copy link
Contributor

By the way, this behavior is also documented in the README:

Denied permissions configured for the group folder itself cannot be overwritten to "allow" permissions by the advanced permission rules.

I'm assuming this is resolved by referencing the necessary information. Please feel free to comment, reopen or create a new issue if you think otherwise. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged feature: acl Items related to the groupfolders ACL or "Advanced Permissions" question
Projects
None yet
Development

No branches or pull requests

3 participants