Camunda bpm – 如何添加多个管理员用户?

huangapple go评论78阅读模式
英文:

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组的用户拥有管理员权限"。

根据授权管理中所示,有以下四种方法可以创建一个拥有所有权限的用户:

  1. 将用户添加到"camunda-admin"组中,如上所示。
  2. 配置管理员授权插件,以授予用户或一组用户所有权限。
  3. 创建自己的组(参见组管理),并授予所有权限,然后将其分配给所需用户。
  4. 直接授予特定用户所有权限。

最后,若想在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 :

  1. Adding users in the camunda-admin group as shown above.
  2. Configure the Administrator Authorization Plugin, to grant user or group of users all permissions.
  3. Create your own group (see Group Management) with all permissions granted and assign it to the users you want.
  4. 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.

huangapple
  • 本文由 发表于 2020年10月6日 22:26:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/64227862.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定