ONLYOFFICE / CommunityServer

Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
http://www.onlyoffice.com
Apache License 2.0
2.75k stars 621 forks source link

[Bug] - Permissions in subfolders are not applied to upper folders #431

Open wzrdtales opened 2 years ago

wzrdtales commented 2 years ago

When files in the common section are shared, the permissions have to be given from the bottom up. If you want to give a person specifically access to only one folder inside one folder, this is impossible, since that means you need to give access to the bottom folder and then change it in all other folders inside...

HelenBelova17 commented 2 years ago

Hello @wzrdtales, Currently, we have the following hierarchy: If you do not specify specific permissions for a subfolder, the subfolder inherits the permissions of the parent folder. If certain permissions are set for a subfolder, the permissions for the subfolder have a higher priority than the permissions for its parent folder. More information is available here. Or specify a detailed scenario in which these permissions do not work.

wzrdtales commented 2 years ago

If certain permissions are set for a subfolder, the permissions for the subfolder have a higher priority than the permissions for its parent folder.

@HelenBelova17 This is wrong then unfortunately. Exactly this does not work. If the parent folder (for example root level in the common space) has explicitly set to prevent everyone seeing it by default and you set then a subfolder with viewing permissions, the parent folder wont show up at all.

HelenBelova17 commented 2 years ago

If certain permissions are set for a subfolder, the permissions for the subfolder have a higher priority than the permissions for its parent folder.

@HelenBelova17 This is wrong then unfortunately. Exactly this does not work. If the parent folder (for example root level in the common space) has explicitly set to prevent everyone seeing it by default and you set then a subfolder with viewing permissions, the parent folder wont show up at all.

@wzrdtales, In this case the parent folder should not be displayed, only the subfolder. We currently have a bug 41287 in our private tracker with displaying such subfolders, in your scenario the subfolder will be visible in the list of Common if you set the filter.

wzrdtales commented 2 years ago

if you set the filter.

which filter? Since this is tracked, is that already planned or no ETA yet?

HelenBelova17 commented 2 years ago

if you set the filter.

which filter? Since this is tracked, is that already planned or no ETA yet?

In your case, the filter is Type/Folders, unfortunately there is no ETA yet.

wzrdtales commented 2 years ago

that is unfortunate since this just breaks the "common" storage section completely, there is not really a case where everything is shared there with everyone.

Also is it normal that shared documents in common do not appear in the shared with me section?

HelenBelova17 commented 2 years ago

that is unfortunate since this just breaks the "common" storage section completely, there is not really a case where everything is shared there with everyone.

Also is it normal that shared documents in common do not appear in the shared with me section?

Yes, it is normal.