Page Contents
Home > @loopback/authorization > authorize > allowAllExcept
authorize.allowAllExcept variable
Allow all but the given roles
Signature:
allowAllExcept: (...roles: string[]) => (target: any, method?: string | undefined, methodDescriptor?: TypedPropertyDescriptor<any> | undefined) => any