make all fields readonly based on state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 04:19 AM
Hi All,
I have a requirement, Below are the condition:
1.if user has program_manager and project_manager roles
2. and state is in progress then all the tables is read only for the above users.
i have written onload client script, but it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 04:31 AM
1.If you want to make all the table fields read only when state is in progress then you should go with ACL
2.Write a table.* acl of type read
3.In condition ,specify state is in progress
4.in roles specify above roles-project_manager,program_manager
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 05:36 AM
i have followed the same process which you shared. but it was making all fields hiding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 06:21 AM
@VSN that should be write ACL not read
Bharath Chintala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 06:27 AM
Read acl created and added above roles in the roles section and in the conditions state is progress.