When you add new sub-folders in Asset Bank, you typically want user groups who can see the parent folder to see this new one - i.e. without having to visit every user group manually and set this up.
This happens by default as sub folders automatically inherit their permissions from the parent folder. I.e. having separate permissions is not ticked.
So adding a sub-folder that does not have it's own permissions to my existing 'Coffee' folder, will look like this in each user group.
It does not explicitly list the sub-folders in folder structures that all inherit from the parent. So any subfolders added will be visible to all groups who have permission to see or download from the root (top level) folder.
Sub-folders with their own permissions
What if I create a sub-folder that does have it's own permissions (i.e. the 'Has permissions' the box above is ticked at point of creation), will existing groups see this new sub-folder if they could see its parent?
The answer is yes by default, as there is a global configuration setting that affects this, which is set to true.
mirror-parent-permissions-on-folder-creation = True
Should new folders be initialised with permissions that match their parent?
So even if you create a new sub-folder with its own permissions, then groups that could previously view or download from the parent folder, will be able to view or download from this folder too.
If you'd prefer this not to happen, and that for new sub-folders you create with their own permissions, you'd like to actually visit and specify the groups who can see them, then we can change the configuration option above to 'False', so that you can do this.
mirror-parent-permissions-on-folder-creation = False
When set to false, sub-folders that are created that inherit permissions from their parent will still work as expected and all groups who could see the parent folder will still see these.
But sub-folders you create that you tick 'Has permissions' at point of creation, will not be given any permission in any existing folder.
E.g. in the example below I have the setting above set to False. I then create a new RGB Logos folder, tick 'Has permissions' and then click 'Add'. The result is that for existing groups, they will not be able to see this new folder, even if they can see the parent folder.
In addition, any new folder that I create that I do not tick 'Has permissions' for, will still inherit from the parent - e.g. I've added the Black & White Logos sub-folder above.
What to watch out for with this approach
If you have an existing folder structure that all inherits from the parent, e.g. my coffee example:
Here there is a folder structure below this, but as none of the sub-folders have their own permissions, they are not shown.
The sub-folders are:
Coffee
> Beans
> Ground
Now, if I decide to add a new sub-folder to 'Beans' called 'Arabica' and want to give them their own permissions for some reason, then this will result in the following changes to existing groups:
I.e. by giving Arabica its own permissions, it also gives its parent folders their own permissions. Groups that could already see the top level 'Coffee' folder will still see this, and will still see the 'Ground' sub folder. But they will no longer see the 'Beans' sub-folder nor the new 'Arabica' folder.
Comments
0 comments
Article is closed for comments.