How to deploy Authorisation Configuration

Hi
I do have to configure about 100 Users, 10 Groups, its Associations and a lot of Resources and Permissions.
The target Configurations is stored in separate so called domain data tables.
First we set the Authorisation Configuration on the Acceptance Test System using either the Java API or the REST API
For further Environments (PreProduction and Production) I would like to create a deployment kit.

I’d prefer to create an sql Insert Script but this does not work because there is no sql Support for the Cammunda ID generator.

Any suggestions how to best do this task?

Hi,

you deploy the users (and authorizations as well) with a java client that calls the REST-API.

An example could be found here: https://github.com/camunda/camunda-consulting/blob/master/one-time-examples/counterparty-onboarding/src/main/java/com/camunda/bpm/cob/userManagement/CreateUserGroupMembership.java

together with this payload: https://github.com/camunda/camunda-consulting/blob/master/one-time-examples/counterparty-onboarding/src/main/resources/user-group-membership.txt

Cheers, Ingo

Hi Ingo
Thank you for quick response. I’ll go with your suggestions