ACL for an individual user

Adam Peterson
Kilo Sage

I have a read ACL for a field so two different roles can view it and others can't. I need to add 1 individual to view this field. Is there a way to do this in the ACL script area? I tried different answer = gs.getUser()...etc but came out with no luck.

Thanks in advance!

1 ACCEPTED SOLUTION

I think, this is more standard way. Tomorrow you may have additional users who would want access to that field. So instead of hardcoding one user, it is best practice to create a role and assign it to that user


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

7 REPLIES 7

SanjivMeher
Kilo Patron
Kilo Patron

You can do that. Create a role and add to the ACL. And then assign the user this new role.


Please mark this response as correct or helpful if it assisted you with your question.

I thought about that but didn't want to make meaning less roles for this very small thing. I was hoping I could do it a different way.

I think, this is more standard way. Tomorrow you may have additional users who would want access to that field. So instead of hardcoding one user, it is best practice to create a role and assign it to that user


Please mark this response as correct or helpful if it assisted you with your question.

Good point. Thanks for your help!