Project

General

Profile

Actions

Defect #3368

closed

WF from universal requests agenda does not allow approving the removal of a business role

Added by David Štekl over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Boris Polák
Category:
Frontend
Target version:
Start date:
05/16/2023
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:
Boris Polák

Description

WF from universal requests agenda: https://wiki.czechidm.com/devel/documentation/roles/dev/universal_requests?s[]=%2Abusiness%2A#agenda_of_universal_requests
does not allow approving the removal of a business role.

I have approval for business roles set up using the following configuration:

idm.pub.core.request.idm-role.enabled=true
idm.pub.core.request.idm-role-composition.enabled=true

Process:
1. Create a request for role change:

2. Delete business role:

Deletion fails with an fe error:

{
  "timestamp" : "2023-05-16T15:26:19.605+0000",
  "status" : 404,
  "message" : "No message available",
  "path" : "/idm/api/v1/requests/sadsadsadsadsad/role-compositions/bulk/action",
  "_errors" : [ {
    "id" : "asdasdasdsad",
    "creation" : "2023-05-16T17:26:19.60561+02:00",
    "statusEnum" : "ENDPOINT_NOT_FOUND",
    "message" : "The given endpoint doesn't exist!",
    "parameters" : {
      "path" : "/idm/api/v1/requests/sadsdasdasdsads/role-compositions/bulk/action",
      "message" : "No message available" 
    },
    "module" : "core",
    "statusCode" : 404,
    "status" : "NOT_FOUND" 
  } ]
}


Files

clipboard-202305161719-yn8vp.png (35.5 KB) clipboard-202305161719-yn8vp.png David Štekl, 05/16/2023 03:19 PM
clipboard-202305161724-fexe0.png (105 KB) clipboard-202305161724-fexe0.png David Štekl, 05/16/2023 03:24 PM
permissions.png (406 KB) permissions.png Peter Štrunc, 05/31/2023 11:14 AM
Actions

Also available in: Atom PDF