Project

General

Profile

Actions

Defect #1816

closed

Bulk actions for removing the same assigned role collided

Added by Alena Peterová over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
08/23/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Version 9.7.3
We accidently started a bulk action for removing the same role for the same users. The LRT collided and the users had broken role requests. See more at the screenshots.

Fix had to be done in DB.


Files

error_duplicated_delete.png (31.5 KB) error_duplicated_delete.png Alena Peterová, 08/23/2019 10:28 AM
sql_fix.png (35.7 KB) sql_fix.png Alena Peterová, 08/23/2019 10:29 AM
role_requests_table.png (61 KB) role_requests_table.png Alena Peterová, 08/23/2019 01:00 PM
Actions #1

Updated by Alena Peterová over 4 years ago

  • File deleted (role_requests_table.png)
Actions #2

Updated by Alena Peterová over 4 years ago

Actions #3

Updated by Radek Tomiška over 4 years ago

  • Status changed from New to In Progress
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • Target version set to Rhyolite (9.7.5)
Actions #4

Updated by Radek Tomiška over 4 years ago

  • Subject changed from Bulk actions for removing the same role collided to Bulk actions for removing the same assigned role collided
  • Category changed from Bulk operations to Roles
Actions #5

Updated by Radek Tomiška over 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 0 to 90

It was not easy, but it's fixed. I changed behavior for deleted identity roles in other concepts => concept is not canceled and deleted directly after assigend role is deleted, but after request is executed. I checked situation, when role, concept and identity role is required and changed to optional.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/4e44d0c21a5cb14823526d1bd484007e2bf0c2b0

Could you do a feedback, please?

Actions #6

Updated by Vít Švanda over 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review. Works fine, thanks for that.

Actions #7

Updated by Radek Tomiška over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF