- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:53 AM
Hi Team,
I want to make the field read-only only in the list-view in incident list. When User try to edit it User not able to do it.
Can anyone tell me how I can achieve it with ACL.
Regards,
Nivedita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:58 AM
@niveditakumari There is an operation "list_edit" in ACLs. You can create list_edit ACL on that field on incident table.
You can define role like admin in that ACL, in that case only admins will be able to edit that.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:59 AM
Hi @niveditakumari ,
Here is a sample of what you need to do, just replace with the required field name and table name:
1) elevate your role as security_admin
2) create new list edit ACL on catalog task table and field as request_item
3) use advanced checkbox as true
4) admin overrides uncheck - means even admin cannot list edit
4) script as
answer = false;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 06:08 AM - edited 01-09-2023 06:10 AM
Hello @niveditakumari , follow this ref
elevate your role as security_admin
2) create new list edit ACL on incident table and if you want this at specific field , select field
3) use advanced checkbox as true
4) admin overrides uncheck - means even admin cannot list edit
4) script as
answer = false;
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:58 AM
@niveditakumari There is an operation "list_edit" in ACLs. You can create list_edit ACL on that field on incident table.
You can define role like admin in that ACL, in that case only admins will be able to edit that.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 05:59 AM
Hi @niveditakumari ,
Here is a sample of what you need to do, just replace with the required field name and table name:
1) elevate your role as security_admin
2) create new list edit ACL on catalog task table and field as request_item
3) use advanced checkbox as true
4) admin overrides uncheck - means even admin cannot list edit
4) script as
answer = false;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 06:08 AM - edited 01-09-2023 06:10 AM
Hello @niveditakumari , follow this ref
elevate your role as security_admin
2) create new list edit ACL on incident table and if you want this at specific field , select field
3) use advanced checkbox as true
4) admin overrides uncheck - means even admin cannot list edit
4) script as
answer = false;
Regards,
Shyamkumar