Hook to get the current user details.
Checks if the user has the specified role.
List of permissions assigned to the user.
Current user details.
Hook to get the current user details.