case 'user':
            if (!ev.resource || !ev.resource.slug) {
                return null;
            }