How to restrict 5 or more fields through ACL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2021 02:35 AM
How to restrict 5 or more fields through ACL?
My Scenario: In the incident form 10 or more fields are there, but need to restrict 5 fields for the particular user or Role through ACL.
Please provide any examples.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2021 01:25 AM
Write table.field (filed name which you want to restrict access for ) ACL on incident table. write the script check your role and return true or false based on logged in user role.
Please mark this answer helpfull / correct answer if this resolves your issue.
Regards,
Shambhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2021 02:37 AM
Hi
configure your ACLs as follows:
| ACL | Operation | Role A | Role B |
| incident.none | read | x | x |
| incident.* | write | x | |
| incident.none | write | x | x |
| incident.field1 | write | x | |
| incident.field2 | write | x | |
| incident.field3 | write | x | |
| incident.field4 | write | x | |
| incident.field5 | write | x |
Then give users who should be able to write into fields 1-5 Role A. All other users need Role B
Kind regards
Maik
If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 04:47 AM
Hi
Did my reply answer your question?
If so, please mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.
If not, please tell me what you are still missing!
Many thanks & kind regards
Maik
