Project

General

Profile

Actions

Defect #997

closed

Cannot delete a role

Added by Marcel Poul about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Roles
Target version:
Start date:
02/26/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Trying to delete a role that has been previously used in some request. Request was deleted and role cannot be removed now. See the pictures attached.

Now, when I try to delete the role, we run on 7.8.2 version. When request was deleted, we used 7.7. version, I guess.


Files

error_message.png (5.4 KB) error_message.png Marcel Poul, 02/26/2018 04:10 PM
audit.png (13.2 KB) audit.png Marcel Poul, 02/26/2018 04:10 PM
Actions #1

Updated by Marcel Poul about 6 years ago

  • Subject changed from Cannor delete a role to Cannot delete a role
Actions #2

Updated by Vít Švanda about 6 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Radek Tomiška to Marcel Poul
  • Target version set to Hematite (8.0.0)

I tried:

1. Create role "TestDelete".
2. Assign this role to UserOne.
3. Create request (concept) for assign this role to UserTwo.
4. Delete this request (concept).
5. Unassign this role from UserOne.
6. Delete this role.
Delete of the role "TestDelete" was successfull.

Do you have some complex scenario for simulation this?

Actions #3

Updated by Marcel Poul about 6 years ago

  • Assignee changed from Marcel Poul to Vít Švanda

On Monday I did only the point 6 of your list. Previous points had done either someone else or I, but two week ago so I am not sure about the precise steps. Since we do not have access to DB, we could only use standard GUI features to get to this point that the role cannot be deleted. Please ask Ondra to show you the data in current state and audit log that can show you more than I can read from it.

Actions #4

Updated by Vít Švanda about 6 years ago

  • Status changed from Needs feedback to New
Actions #5

Updated by Vít Švanda about 6 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Vít Švanda to Patrik Stloukal
  • Target version changed from Hematite (8.0.0) to Garnet (7.8.3)
This problem is same as in the #1002.
Problem is caused when identity is deleted. During this are all role-requests deleted. Connected role-concept was not deleted if concept had filled id of workflow and this process was ended.

Patric, please test it.

Actions #6

Updated by Patrik Stloukal about 6 years ago

  • Status changed from Needs feedback to Closed
  • % Done changed from 0 to 100

i run tests and tested it even in idm and fix is working fine.
Thank you for this fix.

Actions #7

Updated by Vít Švanda about 6 years ago

  • Assignee changed from Patrik Stloukal to Vít Švanda
Actions

Also available in: Atom PDF