Write ACL for group type as mbs legal

Community Alums
Not applicable

Hi,

 

I want to write acl script for group type as mbs legal ,such that if logged in user is member of any group out of which group is mbs legal then he should have read access to table.

How can I write script to achieve this?

6 REPLIES 6

Kieran Anson
Kilo Patron

I'd recommend creating a role and adding it to the group you've mentioned, and then using that role in the ACL. ACLs without scripts are cached and more performative 

Community Alums
Not applicable

I have a role already snc_internal ,but this role is for all users .We cannot create  a custom role .For this ,I want acl to be implemented with condition as role =snc_internal & script = group type is mbs legal.

Can you share relevant script?

Why can't you create a custom role if that is the better solution?

Community Alums
Not applicable

we are not permitted to create  a role