Checks the permissions of a member based on their roles.
An array of roles assigned to the member.
A string representation of the combined permissions of the member.
If the roles parameter is not provided or is not an array.
Checks the permissions of a member based on their roles.