Configuring list view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 10:51 PM
How to make all fields in the list view of incident list read-only but the following fields should be editable by the itil role: short description, state, category, and assignment group.
I have made 2 access control rules:
- incident.short_description:
- incident.*
When incident.short_description is active and not the incident.*, it is working as expected. Any user without an itil role cannot edit the short description field in the list view cell, but as Beth Anglin with the itil role it can. But if i set incident.* as active, Beth Anglin cannot edit the short description in the list view anymore.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 11:31 PM
Hi @robbcmd1234 can you check admin role contains itil role or inherits it? if it doesnt work
in advance script put
if(gs.hasRoleExactly('itil'))
{
answer = true;
}
else
{
answer = false;
}
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 12:30 AM - edited 03-20-2024 12:33 AM
I dont see any admin role containing itil or inheriting it. For the script I dont think GlideSystem has a hasRoleExactly method. I did this instead:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 11:04 PM - edited 03-19-2024 11:25 PM
Hi @robbcmd1234
You can add one Listedit ACL with adding itil role in required role, that help you to solve your question. so that only itil users can edit 'short desc' field in list view.
reference:
If this response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 11:30 PM
Hi, I already tried it but the admin role can edit the field. I dont want the admin editing the fields that only the itil role can edit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 11:37 PM
Hi @robbcmd1234
for only itil user you can unchecked admin override checkbox on acl and user following script in advanced condition
If this response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.