public interface RbacApi
  • Method Details

    • listPlatformRoles

      @GetMapping("/api/v1/roles") org.springframework.http.ResponseEntity<V1ListRolesResponse> listPlatformRoles()
    • createPlatformRole

      @PostMapping("/api/v1/roles") org.springframework.http.ResponseEntity<V1RoleBase> createPlatformRole(@RequestBody V1CreateRoleRequest body)
    • updatePlatformRole

      @PutMapping("/api/v1/roles/{roleName}") org.springframework.http.ResponseEntity<V1RoleBase> updatePlatformRole(@PathVariable("roleName") String roleName, @RequestBody V1UpdateRoleRequest body)
    • deletePlatformRole

      @DeleteMapping("/api/v1/roles/{roleName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deletePlatformRole(@PathVariable("roleName") String roleName)
    • listPlatformPermissions

      @GetMapping("/api/v1/permissions") org.springframework.http.ResponseEntity<List<V1PermissionBase>> listPlatformPermissions()
    • createPlatformPermission

      @PostMapping("/api/v1/permissions") org.springframework.http.ResponseEntity<V1PermissionBase> createPlatformPermission(@RequestBody V1CreatePermissionRequest body)
    • deletePlatformPermission

      @DeleteMapping("/api/v1/permissions/{permissionName}") org.springframework.http.ResponseEntity<V1EmptyResponse> deletePlatformPermission(@PathVariable("permissionName") String permissionName)