Make fields read only on the list view

NishaB
Tera Expert

When on the default list view, the following fields should be present:

Number

Opened

Short Description

Caller

Priority

State

Category

Assignment Group

Assigned To

Updated

Updated By   

 

All fields in the list view are read-only   OR   The following fields are editable by the ITIL role: Short Description, State, Category, Assignment Group, Assigned To

 

How to configure this

5 REPLIES 5

PrashantLearnIT
Tera Sage

Hi @NishaB 

 

You can create list_edit ACL and provide ITIL for write access to ITIL User.

 

I have added sample screenshot below - 

Screenshot 2025-01-18 234758.png

 

NishaB
Tera Expert

I want the short description, category etc. fields to be editable by the itil role. For a user with no itil role even for admin, it has to read-only. How to do this. I'm not getting the desired result

@NishaB 

so these 3 fields are to be editable only by itil and not even admin?

If yes then create list_edit ACLs for these 3 fields

Uncheck admin overrides checkbox

Use advanced script as this

answer = gs.hasRole('itil') && !gs.hasRole('admin');

If my response helped please mark it correct and close the thread so that it benefits future readers.

@NishaB 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.