We would like to automate permission management via PyCelonis. Is there a way to grant access to a package for a group or a user via PyCelonis?
Thank you
We would like to automate permission management via PyCelonis. Is there a way to grant access to a package for a group or a user via PyCelonis?
Thank you
Hello @Gregor Scheithauer , please check the following link: https://celonis.github.io/pycelonis/1.7.0/getting_started/howto/main_concepts/?h=permissions#main-concepts. If this does not help, please open a support ticket and we will be happy to help you. Have a good day!
Hi,
First step would be to grant Workbench application (VM) permissions to manage permissions in Studio:
Second step would be getting Celonis user list (Hint: https://www.celopeers.com/s/question/0D5S7000002zYX7KAM). I'm currently trying to make it work with PyCelonis 2.6.0 :)
Third step: assign specific user from Celonis user list all permissions for specified package and all items down in hierarchy.
Inital link for research: https://celonis.github.io/pycelonis/2.6.0/reference/pycelonis/ems/apps/content_node/package/#pycelonis.ems.apps.content_node.package.PublishedPackage
question is if PyCelonis have any function allowing for changing package permissions out-of-box. If not we can always emulate users interface request by using celonis.client.request(url=xxx, method=xxx)
I would rather use newest PyCelonis (2.6.0 as for today) as PyCelonis <2.0 is not actively supported.
Can you describe your use-case in more detailed way?
Best Regards,
Mateusz Dudek
Hi Again,
I've double checked. You can send GET/POST requests to URL:
https://<Intance name>.celonis.cloud/package-manager/api/package-nodes/manage-permissions/<Package_ID>/model?flavor=STUDIO to get current permissions and also POST request to change it:
GETPOST request structure when adding permission for single user to use an APP:
UI Action:
So it seems to be doable. :)
Just FYI - I'm using Firefox browser dev tools for request analysis - you can find same tools in different browsers but they can look a bit different.
Best Regards,
Mateusz Dudek
Hi Again,
I've double checked. You can send GET/POST requests to URL:
https://<Intance name>.celonis.cloud/package-manager/api/package-nodes/manage-permissions/<Package_ID>/model?flavor=STUDIO to get current permissions and also POST request to change it:
GETPOST request structure when adding permission for single user to use an APP:
UI Action:
So it seems to be doable. :)
Just FYI - I'm using Firefox browser dev tools for request analysis - you can find same tools in different browsers but they can look a bit different.
Best Regards,
Mateusz Dudek
Thank you. Will look into it.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.