Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
denyAll
Function · 0.85
denyUnauthenticated
Function · 0.85
Calls
1
authorize
Function · 0.85
Tested by
no test coverage detected