How to prevent users from typing comments in closed HR cases in portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 12:32 AM
Hi all,
We want to restrict users from being able to enter comments in "Type your message here " box in portal for closed/ Cancelled HR cases. I found an OOB write ACL for sn_hr_core_case.comments to which I added active=true condition. But I find this working only for non roled users and not for the users who have the roles specified in the write ACL. Can anyone please suggest?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022 04:10 AM
That's what I said in first reply, create new write ACL on comment field with condition as Active false and if you don't any anyone to add comment then just add 'admin' to role and save that ACL, also existing write ACL on comments field then just add condition as 'Active' true so that one ACL runs for Active cases and one for inactive cases and both are for 'Comments' field.
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2022 04:19 AM
Hello,
If you are fine with my response, Please hit like and mark my response as correct if that helps.
Regards
Regards,
Musab