Function: toDbScope()
function toDbScope(scope: MaxAssignableScope): "global" | "self_org" | "child_org";Defined in: server/access/role-version-repository.ts:124
Map the public hyphenated scope to the DB enum's underscore form.
Parameters
| Parameter | Type |
|---|---|
scope | MaxAssignableScope |
Returns
"global" | "self_org" | "child_org"