Requested Item - ACL Control

Guilherme Cai_a
Tera Contributor

I have the following situation: All users with a certain role can change the state of the request after it is closed.
The user double-clicks on the state when the table records are listed, as shown in the image below and changes it.

find_real_file.png

 

I would like to address this problem, as it generates unnecessary inconvenience to analyze a "created" problem. I thought about using the ACL but I have no idea how to fix it.

Has anyone been through a similar situation and could help me?

Thank you very much!

5 REPLIES 5

Shubham Pawar
Tera Contributor

You can create a Before update business rule to restrict user to change the fields on the form if RITM is already closed.
Filter condition: state changes from Closed Complete OR
                            state changes from Closed Incomplete OR
                            state changes from Closed Skipped

Script:

(function executeRule(current, previous /*null when async*/) {

	gs.addInfoMessage('Can not edit state of closed task.');
	current.setAbortAction(true);

})(current, previous);