- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 02:21 AM
I tried to modify the ACL of the content table so that users can only see the content they created, but it did not take effect. I want to know how to customize the ACL of the content table and make it take effect
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2024 03:39 AM - edited ‎07-05-2024 03:39 AM
Hello @huangh ,
Create ACL for Update Operation and add script with condition for "content editor" role as posted below. test it after saving the same ACL.
if (gs.hasRole('content_editor')) {
answer = true;
} else {
answer = false;
}
Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2024 03:39 AM - edited ‎07-05-2024 03:39 AM
Hello @huangh ,
Create ACL for Update Operation and add script with condition for "content editor" role as posted below. test it after saving the same ACL.
if (gs.hasRole('content_editor')) {
answer = true;
} else {
answer = false;
}
Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2024 06:13 PM
You gave me a huge reminder, thank you very much