Field should not be editable from list view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2023 10:37 AM
Hi,
We have a custom table which can be accessed by users only with admin role. The read and write ACLs return true only for admin users.
1. I have created a field in the OOB 'dmn_demand' table referencing this custom table. The value for the field will be populated based on the script. I came to know that if the user does not have write access to reference table, the field will be read only.
2. Now I have created another field in the OOB 'pm_program' table referencing the same custom table. But here the field has become editable for the users.
If my understanding is correct in point 1, the field must be read-only on the 'pm_program' table as well. Please help me understand where it went 'wrong'.
Note: I have verified the system to check if there are any field specific ACLs, UI policies, UI policy scripts, Client scripts which is controlling the field behavior. There are no such conditions in the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2023 11:01 AM
How you are testing the fields.
If you are logged in as admin,
The custom field which is referencing to custom table is not read only.
If you are logged in as another role other than admin
The field is not visible at all.
Check how you have written ACLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2023 11:52 AM
Hi @Harish74 ,
Please check if there's an ACL on the pm_program table with the name:
pm_program.* i.e. it might be allowing access to all the fields on the this table
If such ACL exists, that might be the reason users are able to edit that reference field
If my answer has helped with your question, please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2023 09:02 PM
Hi @Karan Chhabra6 ,
I checked there is one pm_program.* OOB ACL, but the same type of ACL is also available for dmn_demand.* table. But it is read only over there in dmn_demand table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2023 09:00 PM
I checked with it_program_manager role user who does not have admin role.