hasPermission($name); } public static function getRestrictions($name) { return self::auth()->getRestrictions($name); } }