Class PrivilegeCollectionResource

java.lang.Object
org.flowable.idm.rest.service.api.privilege.PrivilegeCollectionResource

@RestController public class PrivilegeCollectionResource extends Object
Author:
Joram Barrez
  • Field Details

    • identityService

      @Autowired protected org.flowable.idm.api.IdmIdentityService identityService
    • idmRestResponseFactory

      @Autowired protected IdmRestResponseFactory idmRestResponseFactory
    • restApiInterceptor

      @Autowired(required=false) protected IdmRestApiInterceptor restApiInterceptor
  • Constructor Details

    • PrivilegeCollectionResource

      public PrivilegeCollectionResource()
  • Method Details

    • getPrivileges

      @GetMapping("/privileges") public DataResponse<PrivilegeResponse> getPrivileges(@RequestParam Map<String,String> allRequestParams)
    • getUsers

      @GetMapping("/privileges/{privilegeId}/users") public List<UserResponse> getUsers(@PathVariable String privilegeId)
    • deleteUserPrivilege

      @DeleteMapping("/privileges/{privilegeId}/users/{userId}") public void deleteUserPrivilege(@PathVariable String privilegeId, @PathVariable String userId)
    • addUserPrivilege

      @PostMapping("privileges/{privilegeId}/users") public void addUserPrivilege(@PathVariable String privilegeId, @RequestBody AddUserPrivilegeRequest request)
    • getGroups

      @GetMapping("/privileges/{privilegeId}/groups") public List<GroupResponse> getGroups(@PathVariable String privilegeId)
    • deleteGroupPrivilege

      @DeleteMapping("/privileges/{privilegeId}/group/{groupId}") public void deleteGroupPrivilege(@PathVariable String privilegeId, @PathVariable String groupId)
    • addGroupPrivilege

      @PostMapping("privileges/{privilegeId}/groups") public void addGroupPrivilege(@PathVariable String privilegeId, @RequestBody AddGroupPrivilegeRequest request)
    • getPrivilegeById

      protected org.flowable.idm.api.Privilege getPrivilegeById(String privilegeId)