Confirm UI action in problem is working only for admins

R_ana
Tera Guru

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

3 REPLIES 3

Kavita_Bhojane
Tera Guru

Hi @R_ana ,

 

Could you please provide more information such as screenshot of UI action script/condition?

 

Thanks,

Kavita Bhojane

Kalyani Jangam1
Mega Sage
Mega Sage

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.

Hi @Kalyani Jangam1 

 

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

 

R_ana_2-1700434338042.png

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.