Skip to main content
May 11, 2023
Question

Group Permission

  • May 11, 2023
  • 2 replies
  • 0 views

Hi all,

I am facing some error regarding insufficient group permission. I used a!isusermembergroup() function in a query filter inside applywhen parameter for validation to get list of tasks for a particular group. I am not ale to view the tasks if I am not part of admin group. The visibility permission is "Restricted" for all the groups and gave administrator access for admin groups in security .Please let me know how to resolve this error on insufficient permission.

    2 replies

    May 11, 2023

    Are you using a!isUserMemberOfGroup or a!groupMembers() ?

    Because the first one will work inspite of the user not having permission to the desire group but if you try to retrieve the members of a group which you are not part of using latter then it will throw the exact same error.

    mikes0011
    Brainy
    May 11, 2023

    I'm a little unclear what you're trying to query, and how a!isUserMemberOfGroup() plays into it.  Can you post your sample code?  Are you saying the behavior works differently between an admin user and a non-admin user? What exactly is the difference?  What happens if you try executing JUST the group membership rule under both accounts?