IsInGroupWithId
Function: isInGroupWithId()
[object Object]
Defined in: app/util/group.util.ts:42
Checks if the current user is in a specific group by ID with an optional role.
Parameters
tokenParsed
KeycloakTokenParsed | undefined
The parsed keycloak token.
group
[object Object]
The ID of the group to check.
role?
[object Object]
The optional role within the group.
Returns
[object Object]
True if the user is in the specified group, false otherwise.