Returns authenticated user’s permissions. It will return empty set, in case there’s no active authentication or if the current user does not have any permissions assigned.
Returns authenticated user’s roles. It will return empty list, in case there’s no active authentication or if the current user does not have any roles assigned.