Builtin Automation rule
PostPosted:Wed May 26, 2021 1:52 am
by lalitpareshan
Automation
Want to grant permission to a role on specific folder creation.
Example if a folder is created by any user as "Invoice" than want to grant read permission to role "Accounts" so the accounting team can view those invoices.
is this feasible without scripting ?
version 6.3.8 CE
Regards
Re: Builtin Automation rule
PostPosted:Sat May 29, 2021 8:59 am
by jllort
I think you are looking for GrantRole action
https://docs.openkm.com/kcenter/view/ok ... ugins.html
If this action does not fit exactly your requirement can built your own one:
*
https://docs.openkm.com/kcenter/view/ok ... ction.html
*
https://github.com/openkm/document-mana ... tRole.java ( current implementation of GrantRole action )
Re: Builtin Automation rule
PostPosted:Sun May 30, 2021 4:20 pm
by lalitpareshan
Hi Sir , have been through those page but it refers to scripting , is there a way for simple automation from front end UI , in community edition ?
i see most of the options for automation are readonly , the path selection is missing in the community edition. unfortunately i am not familiar with scripting an coding.
1) granting a role rule to specific roles on creation for subfolder if it name contains specific words
2) revoking inherited roles on subfolders creation
Re: Builtin Automation rule
PostPosted:Sun Jun 06, 2021 11:26 am
by jllort
The previous URL is what you need for it purpose. If do not have Java skill can ask to some freelance to help on it ( in this post have one
viewtopic.php?f=5&t=23156&p=49549&hilit=saul#p49549 ). If you want to check for OpenKM professional then OpenKM IT staff can directly assist you in this kind of configuration ( really is quite easy to implement ).