Interface: PermissionService
Interface for handling permission verification.
Methods
verifyRouteAccess()
verifyRouteAccess(route, session?): Promise<void>
Verifies access to a route.
Parameters
• route: CoreAPIRoute
<unknown
, unknown
, any
>
The route to verify access for.
• session?: CoreUserSession
The user session.
Returns
Promise
<void
>
A promise that resolves if access is granted.