Defect #3142
closed
Removing auto role by attribute definition fail, because no transaction is open
Added by Roman Kučera over 2 years ago.
Updated almost 2 years ago.
Description
When you have some auto role byt attribute. This role is not assigned to anybody.
When you try to remove this definition it failed, because no transaction is open.
workaround is to run RemoveAutomaticRoleTaskExecutor from scheduler to the specific role.
Find what is causing the issue and fix it
- % Done changed from 0 to 60
- Sprint set to Sprint 12.3-1 (srp 03 - srp 17)
- Sprint changed from Sprint 12.3-1 (srp 03 - srp 17) to Sprint 12.3-2 (srp 17 - srp 31)
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Tomáš Doischer
- % Done changed from 60 to 80
PR https://github.com/bcvsolutions/CzechIdMng/pull/252
After discussion, the solution is via calling LRT directly. This make the whole process of deleting more simple.
AspetJ solution could potentially break some other stuff so we backed of from this solution.
@doischert could you make a review please?
Github action is running.
- Status changed from Needs feedback to In Progress
- Assignee changed from Tomáš Doischer to Roman Kučera
I tested the workaround and it has a major issue: the removal of the automatic role is not audited. Can you take a look at it again?
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Tomáš Doischer
@doischert I reworked the solution. Requests are used now again. Check PR please
- Status changed from Needs feedback to Resolved
- Assignee changed from Tomáš Doischer to Roman Kučera
- % Done changed from 80 to 100
Thank you, LGTM. Merged to develop.
- Status changed from Resolved to Closed
Also available in: Atom
PDF