Confirm UI action in problem is working only for admins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 08:56 PM
Hi All,
The "confirm" button on problem which is used to move from Assess to Root Cause Analysis state is working only for admins.
On the form, when "Confirm" is clicked, the state changes to Root Cause Analysis for a moment and then changes back to Assess.
Please suggest why this is happening and how to resolve this.
Regards,
R'ana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 09:17 PM
Hi @R_ana ,
Could you please provide more information such as screenshot of UI action script/condition?
Thanks,
Kavita Bhojane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 11:33 PM
Hi @R_ana
There are 2 things for which it is working only for admins.
1st in ui action condition, it used current.canWrite() means who have access in write acl then this button visible for them so you can check acl once.
2nd things, in require role of ui action it has given problem_coordinator.
For testing purpose you can remove this role and check for non-admin.
Please check and Mark Helpful and Correct if it really helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2023 02:52 PM
The UI action does pass the canWrite() conditions as I added some addInfoMessage() statements in the script and I am able to get them triggered
However, the messages appear for a split second and even the state does show it moves to Root Cause Analysis. But immediately after that, it reverts back to Asses and clears the messages also.
It looks like there is some abort action but I am not able to find it.
Also, as suggested, I removed the problem_coordinator role and its still the same.
Please suggest.