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 11 months ago. Updated 6 months 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 #1

Updated by David Štekl 11 months ago

  • Target version set to 13.0.5
Actions #2

Updated by Peter Štrunc 11 months ago

  • Sprint set to Sprint 13.0.5 - 2 (May 17 - May 29)
  • Assignee changed from Peter Štrunc to Boris Polák
Actions #3

Updated by Boris Polák 11 months ago

  • Status changed from New to In Progress
Actions #4

Updated by Boris Polák 11 months ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Boris Polák to Peter Štrunc
  • % Done changed from 0 to 80
Actions #5

Updated by Peter Štrunc 11 months ago

  • Target version changed from 13.0.5 to 13.0.6
Actions #6

Updated by Peter Štrunc 11 months ago

  • Sprint changed from Sprint 13.0.5 - 2 (May 17 - May 29) to Sprint 13.0.5 - 3 (May 29 - Jun 12)
Actions #7

Updated by Peter Štrunc 11 months ago

I tested it thoroughly and it works like a charm.

I found another issue though. When I go to the "Permissions" tab, it shows a similar error with the bulk action endpoint. It seems to me, that it could be the same issue.

Could you check it out @polakb?

Actions #8

Updated by Boris Polák 11 months ago

  • Assignee changed from Boris Polák to Peter Štrunc

fixed

Actions #9

Updated by Peter Štrunc 11 months ago

  • Category set to Frontend
  • Status changed from In Progress to Resolved
  • Assignee changed from Peter Štrunc to Boris Polák
  • % Done changed from 80 to 100
  • Owner set to Boris Polák

Works well, merged to develop.

Actions #11

Updated by Martin Kolombo 6 months ago

  • Sprint changed from Sprint 13.0.5 - 3 (May 29 - Jun 12) to Sprint 13.0.5 - 2 (May 17 - May 29)
Actions #12

Updated by Peter Štrunc 6 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF