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

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.