* @since 4.3.0 */ class UserPermissionsEvent extends Event { /** * @var array Permissions array assigned to the user. */ public array $permissions; /** * @var int ID of the user associated with this event. */ public int $userId; }