1

我有一个应用程序,每当有人在我的应用程序中注册时,就应该在 jbpm 中创建该用户。因此,每当添加新任务时,他都可以批准它。我正在使用在本地主机上运行的 rhpam jbpm business-central。http://localhost:8080/business-central/kie-wb.jsp 我已经用谷歌搜索了如何使用 API、swagger 或以编程方式创建用户,这样只要新用户在我的应用程序中注册,用户就会在 jbpm 中创建。但没有找到任何关于它的东西。你能帮我么?

4

1 回答 1

-1
After a month I found some APIS which we can use to perform operation on user, like add/update/delete/get users, groups and roles.
base url: http://localhost:8080/business-central/rest/

[GET] /roles – Get a list of all roles

[GET] /users – Get a list of all users

[GET] /groups – Get groups

[GET] /users/{userName}/groups – Get a list of groups assigned to a user

[GET] /users/{userName}/roles — Gets a list of roles assigned to a user

[POST] /users Creates users

[Post] /users/{userName}/changePassword – Changes user password

[POST] /groups — Creates groups

[POST] /users/{userName}/groups – Overrides the user assigned groups with new values

[POST] /users/{userName}/roles – Overrides the user assigned roles with new values

[Post] /groups/{groupName}/permissions – Updates permissions for a group

[Post] /roles/{roleName}/permissions – Updates permissions for a role

[GET] /groups/{groupName}/permissions –Get all permissions for a group

[GET] /roles/{roleName}/permissions –Get all permissions for a role

[GET] /users/{userName}/permissions –Get all permissions for a user

[DELETE] /users/{userName} – Deletes a given user

[DELETE] /groups/{groupName} Deletes a given groups
于 2020-12-10T05:15:04.640 回答