Greeting!
https://github.com/camunda/camunda-docs-manual/blob/master/content/user-guide/process-engine/authorization-service.md states:
Camunda BPM has no explicit concept of “administrator” beyond it being a user who has been granted all authorizations on all resources.
and so i do:
…
lUsrName = “admin”;
for (Resource r: Resources.values())
{
auth = authorizationService.createNewAuthorization(Authorization.AUTH_TYPE_GRANT);
auth.setUserId(lUsrName);
auth.setResource( r );
auth.setResourceId("*");
auth.addPermission(Permissions.ALL);
authorizationService.saveAuthorization(auth);
}
…
verified in ACT_RU_AUTHORIZATION table, user admin possess resource_type from 0-14 with resource_id *
ok should be it. But not yet.
Trying to login to
http://myhost:port/camunda/app
and getting nice messsage:
You are trying to access the process engine “default”. This process engine is configured to use the built-in identity service (database) but has no administrative users configured. This page allows you to create a user for accessing the process engine.
So what do i missing? Administrative user is not admin user?
Please advice!
many thanks in advance!