basalt / permissions/src / currentScope
Function: currentScope()
> currentScope(): string
Defined in: permissions/src/index.ts:141
The permission scope of the current request: the tenant id, or GLOBAL_SCOPE outside a tenant. Throws ReservedScopeError when the tenant id is itself a reserved scope.
Returns
string