MCPcopy Create free account
hub / github.com/loopbackio/loopback-next / deny

Function deny

packages/authorization/src/decorators/authorize.ts:135–135  ·  view source on GitHub ↗
(...roles: string[])

Source from the content-addressed store, hash-verified

133 * @param roles
134 */
135 export const deny = (...roles: string[]) => authorize({deniedRoles: roles});
136 /**
137 * Shortcut to specify access scopes
138 * @param scopes

Callers 2

denyAllFunction · 0.85
denyUnauthenticatedFunction · 0.85

Calls 1

authorizeFunction · 0.85

Tested by

no test coverage detected