Home > Forum > Processes > Privileges to app

Privileges to app
0

Hello,

Is there a possibility to implement an automation mechanism for granting application privileges, such as the "Metadata access", "Access all workflow instances" permissions etc?
I have created a Global action - On start (cyclical) that is creating a group and adding a user to that group, but also i have to add that group to Application privileges so they can access the app. How can i do that automatically?

Thank you.

MVP

Hi,

the only option I see will be using the REST API.

https://bps.portal.url/api/index.html?urls.primaryName=API%20v5.0
Path (POST)

/api/data/v5.0/db/{dbId}/applications/{idguid}/admin/privileges/add
At least one permission required: App.Metadata.ReadWrite


Since we can not use REST Actions in the cyclical action it would require to start a technical workflow.

Best regards,
Daniel

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings