Need to hide action

Hi All,

I need to hide some related actions from specific groups. Can anyone please help me, how to achieve this?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to Rahul009
    if user p1 is part of group A and Group A is subgroup of Group B. If I hide some action for group A but not for Group B then user p1 will be able to see the action

    You can fashion a "Visibility" Expression Rule that checks the group memberships of the viewing user based on any manner of such permutations.

    Generally, you ALLOW an action to show up (as in it's not visible to anyone by default except for the people you allow it for), so in such a case, membership in A would be irrelevant, you would simply allow it to show up for people in group B.  This logic might shift slightly if you're also looping in other groups or visibility considerations, but the point is, you have almost unlimited flexibility in this respect when using the "visibility" expression (and please, when it gets anywhere near this complicated, do yourself a favor and wrap it in an Expression Rule right out of the gate).