Project

General

Profile

Actions

Defect #2415

closed

Business roles has subroles with mapped system and merge attribute. When you delete for example 2 subroles, one of them still remain on the end system

Added by Roman Kučera over 4 years ago. Updated over 4 years ago.


Description

Use case:
Business role "role" has 3 subroles:
"subrole 1" - has mapped system system and override multivalue merge attribute
"subrole 2" - has mapped system system and override multivalue merge attribute
"subrole 3" - has mapped system system and override multivalue merge attribute

You have some user which has account on this end system and has role "role"
If you delete for example 2 subroles from "role" together, one of them will still remain on the end system. E.g remove "subrole 1" and "subrole 2" by checking checkbox and deleting one of them will still remain on the end system.
It looks like that provisioning is executed before the role is removed from user in IdM.

Result:
User has still some permission on end system until next re-save for this user.

Workaround:
Re-save all users after you delete some subroles?


Related issues

Related to IdStory Identity Manager - Task #1636: Redesign business roles assignmentClosedRadek Tomiška05/06/2019

Actions
Related to IdStory Identity Manager - Task #2498: Automatic roles: prevent to recount automatic roles simultaneouslyClosedRadek Tomiška09/22/2020

Actions
Actions #1

Updated by Radek Tomiška over 4 years ago

Workaround: Run account management on users.

Actions #2

Updated by Radek Tomiška over 4 years ago

  • Target version set to 10.4.3

I will add validation to prevent change business role simultaneously => wait before one change (by asynchronous task) is completed.

Actions #3

Updated by Radek Tomiška over 4 years ago

  • Target version changed from 10.4.3 to 10.4.4
Actions #4

Updated by Radek Tomiška over 4 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Radek Tomiška over 4 years ago

  • Affected versions Malachite (9.0.0), Moonstone (9.1.0), Moonstone (9.1.1), Morganite (9.2.0), Morganite (9.2.1), Morganite (9.2.2), Onyx (9.3.0), Onyx (9.3.1), Opal (9.4.0-rc.1), Onyx (9.3.2), Onyx (9.3.3), Opal (9.4.0-rc.2), Onyx (9.3.4), Opal (9.4.0), Pyrite (9.5.0), Pyrite (9.5.1), Pyrite (9.5.2), Pyrite (9.5.3), Pyrite (9.5.4), Quartz (9.6.0), Quartz (9.6.1), Quartz (9.6.2), Quartz (9.6.3), Quartz (9.6.4), Quartz (9.6.5), Pyrite (9.5.1.2), Quartz (9.6.6), Rhyolite (9.7.0), Rhyolite (9.7.2), Rhyolite (9.7.3), Rhyolite (9.7.4), Rhyolite (9.7.5), Rhyolite (9.7.6), Rhyolite (9.7.7), Rhyolite (9.7.8), Rhyolite (9.7.9), Rhyolite (9.7.10), Rhyolite (9.7.11), Rhyolite (9.7.12), Rhyolite (9.7.13), 10.0.0, 10.4.2, 10.4.3 added
Actions #6

Updated by Radek Tomiška over 4 years ago

  • Target version changed from 10.4.4 to 10.5.0
Actions #7

Updated by Radek Tomiška over 4 years ago

  • Related to Task #1636: Redesign business roles assignment added
Actions #8

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

Business roles are processed asynchronously and cannot run simultaneously - all business role changes (add, delelte) are processing by LRT queue.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/030ac042658f97a5ba997cacd8ac76aefbc7cc9e

Could you provide me a feedback, please?

Actions #9

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 reivew and tested it. Only one sub role can be deleted in same time. This prevents occurring of this problem. Maybe creating bulk action for delete subroles will cause better UX (in future). LGTM

Actions #10

Updated by Radek Tomiška over 4 years ago

  • Status changed from Resolved to Closed
Actions #11

Updated by Radek Tomiška about 4 years ago

  • Related to Task #2498: Automatic roles: prevent to recount automatic roles simultaneously added
Actions

Also available in: Atom PDF