This is a question that should be simple (or so I hope) but it’s driving me nuts.
Nextcloud version: 20.0.12
Operating system and version: Linux 5.4.0-56-generic x86_64 (that’s how it’s listed in the settings)
Apache or nginx version: I don’t know.
PHP version: 7.4.3
I have an instance organized in groups. Y created a Group Folder and am sharing files with this structure:
- (Root Group Folder - Shared with Groups A and B with all permissions)
Subfolder - Shared with Groups B and C with all permissions except deleting and editing
- Sub-subfolder - Shared with User X (part of group B) with all permissions
- Subfolder - Shared with Groups B and C with all permissions except deleting and editing
This is how it looks in the sharing panel of Sub-subfolder:
By default, User X shouldn’t be able to edit Sub-subfolder because they’re part of Group B which doesn’t have editing permissions in Subfolder (and thus on Sub-subfolder).
But as I explicitly shared Sub-subfolder with User X with all permissions, they should be able to edit it even if their group isn’t.
User X still isn’t able to edit Sub-subfolder unless I give editing permissions to the whole Group B.
Is this how it is supposed to work, or is something wrong with my setup?
Is user-level sharing not capable of overriding group-level sharing?
Edit: Slightly edited the title for more clarity.