Project

General

Profile

Actions

Defect #3132

closed

Duplicate adding roles for role composition

Added by Ondřej Kopr almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Roman Kučera
Category:
Roles
Target version:
Start date:
06/06/2022
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Use case: In our project exists automatic role that has several subroles and we had two role requests that added same automatic roles for same user . Both was created in about 10 second - resave same user.

In both role request exists adding same automatic role. The first role request was added the role and the second correctly evaluated that automatic role was added in previous role request:

2022-06-06T10:29:37.049125+02:00[Europe/Prague]: Request change in concept [ba86fe1e-6e2a-4208-bfad-4e37e502d8c4], was not executed, because requested automatic role was already assigned (not from this role request)!

but in second role request was added subroles by the automatic role that was removed from role request and this is wrong behavior!

The wrong added subroles has filled role role composition without directed role and filled valid till and valid from.

Actions

Also available in: Atom PDF