Permissions
Specific actions, such as creating a room or kicking a user, are limited to certain users based
on their email (UID) and their login method. The isUserAuthorized function checks if a user
is authorized to perform such actions.
Functions
| Function | Description |
|---|---|
| isUserAuthorized | Checks if a user is authorized for a specific action, such as "room_create" or "room_kick". This function uses the ADMIN_LIST environment variable that contains a list of authorized credentials based on a UID and the login method. |