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

Aman Kumar S
Kilo Patron

Hey,

You will need to create 3 list edit ACLs for this requirement:

  1. Create an ACL for the table using "sc_req_item.none" with no restriction
  2. Create an ACL for all fields in the table using "sc_req_item.*" with Advanced checkbox as true and in the script write -  answer = false;
  3. Create an allow ACL for the field you want to be editable using "sc_req_item.state" and keep condition as state is not closed

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

Thanks for the quick feedback Aman!

I created the ACL but I think I did it wrong, I tested it and it didn't work.
Could you kindly validate?find_real_file.png

find_real_file.png

find_real_file.png

I made a mistake!!


In the field "operation", i change for "write" and the solution proposed works perfectly!!

Thanks!

Hey @Guilherme Caiçara ,

Great the solution worked for you, feel free to mark correct.

Will be helpful for future visitors looking for similar questions 🙂

 

Best Regards
Aman Kumar