Create an ACL to hide all the events from 'CDE' source. only visible to a Group and Admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 10:06 AM
By using ACL,
if the Source = CDE.
This should be only visible to users with a particular group(ex: TestGroup2) and admin role.
I tried various methods(by adding condition Source is CDE and if condition in script true or false), but couldnot able to hide the Events of the 'CDE' source.
If anyone has idea please share it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 11:33 AM
Hi @Keerthan S ,
Can you please can try create a 'Record' type 'Read' ACL on 'em_event' as below,
1. Put condition as 'source' field is 'CDE'. PFB sample SS.
2. Under 'Security attribute condition' section, 'HasAdminRole' is 'true' AND 'Group' is 'TestGroup2'. PFB Sample SS for your reference.
Security attribute condition --> section is introduced in Vancouver and a very useful one.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 10:36 PM
Hi @Animesh Das2
Tried this method but still visible for other users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 11:19 PM - edited 10-03-2024 11:20 PM
Can you please share the SS of the changes you did? I'd like to see once. Otherwise, you could use script condition as well instead of 'Security attribute condition' section if it is not working for you.
1. Put condition as 'source' field is 'CDE'. PFB sample SS.
2. Script would be,
answer = (gs.hasRole('admin') && gs.getUser.isMemberOf('TestGroup2'));
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2024 12:01 AM
Hi @Animesh Das2
even this didnot work, also there are existing multiple ACLs for Event(em_event) table without any condition, just roles have been defined.
but we need to hide the Events for this specific source