英文:
Camunda bpm - How add multiple admin users?
问题
我正在进行Camunda CMMN项目的工作,我想从src/main/resources/application.yaml
中创建多个管理员用户。
这是我的application.yaml
文件:
camunda.bpm:
admin-user:
- id: demo
password: demo
firstName: Demo
lastName: Demo
- id: anotherAdmin
password: anotherPassword
firstName: Another
lastName: Admin
filter:
create: All tasks
我该如何添加更多的管理员用户?
英文:
I’m working on camunda CMMN project and I would like to create multiple admin users from src/main/resources/application.yaml
.
So this is my application.yaml
file :
camunda.bpm:
admin-user:
id: demo
password: demo
firstName: Demo
lastName: Demo
filter:
create: All tasks
How could I add more admin users ?
答案1
得分: 4
如用户管理中Camunda文档所述,"属于camunda-admin组的用户拥有管理员权限"。
根据授权管理中所示,有以下四种方法可以创建一个拥有所有权限的用户:
- 将用户添加到"camunda-admin"组中,如上所示。
- 配置管理员授权插件,以授予用户或一组用户所有权限。
- 创建自己的组(参见组管理),并授予所有权限,然后将其分配给所需用户。
- 直接授予特定用户所有权限。
最后,若想在application.yaml
中添加特定组内的多个用户,可以参考此GitHub帖子。
英文:
As said in the Camunda documentation in User Management, "users who belong to the group camunda-admin have administrator privileges".
You have 4 ways to create an user with all permissions as shown in Authorization Management :
- Adding users in the
camunda-admin
group as shown above. - Configure the Administrator Authorization Plugin, to grant user or group of users all permissions.
- Create your own group (see Group Management) with all permissions granted and assign it to the users you want.
- Simply grant one specific user all permissions.
Finally, to add multiple users within a specific group in your application.yaml
, you can have a look at this Github post.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论