if (in_array('*', $permissions, true)) {
            return ['*'];
        }