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