Type Alias: AuthRuleInfo
AuthRuleInfo =
object
Defined in: cfds/base/data-registry.ts:26
Information passed to authentication rules to determine if an operation is allowed.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
db | GoatDB | The database instance | cfds/base/data-registry.ts:28 |
itemKey | string | Key of the item being accessed | cfds/base/data-registry.ts:32 |
op | AuthOp | Type of operation being performed (read or write) | cfds/base/data-registry.ts:36 |
repoPath | string | Path to the repository being accessed | cfds/base/data-registry.ts:30 |
session | Session | Current user session | cfds/base/data-registry.ts:34 |