Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: LIferay 7.2 DXP: DM folder inheritance permissions
Hi everyone, I've the following scenario: in my Documents and Media, I have several folders, each one with different permission based on custom roles.
Let's say that in folder A I've set writing permissions for role A, in folder B for role B and so on...
Now my question: is that possible to inherite these role associacion (and so related permissions) for every content inside every folder?
The use case is that a user with roleA can create a document in folder A, and after that another user with the same roleA should be able to modify that document.
I know I can manually change permissions on every content, but this is an over effort I don't want to teach to my users...so, does exist some sort of configuration to achieve this?
Thank you!
Hi ,
You can have service wrapper for DlAppService and write your logic to copy the model permission from parent folder.
You can try below service for copying the role access
ResourceLocalServiceUtil.copyModelResources(companyId, name, oldPrimKey, newPrimKey);
AFAIK no.
We have a DLLocalServiceWrapper that sets the permissions on certain documents according to some rules that are easy to understand. We e.g. have documenttypes and a dropdown with Public/Secret/... in there and the dropdown overrules the standard behavior.
It works pretty well and implementing a service wrapper isn't really difficult (you just have to take care to implement all relevant methods).
Document folder settings should have a check box for "Inherit parent folder permissions".
You mean in control panel?
Cold you please tell me where to find this configuration?
Thank you.
Powered by Liferay™