fix(cli-scope): add scopeField to ResourceDef for fail-closed group scope
This commit is contained in:
@@ -52,6 +52,12 @@ export interface ResourceDef {
|
||||
description: string;
|
||||
/** Primary key column name. */
|
||||
idColumn: string;
|
||||
/**
|
||||
* Column that carries the agent group ID for group-scope enforcement.
|
||||
* Required on every resource in the CLI whitelist (groups, sessions,
|
||||
* destinations, members). When absent, post-handler filtering fails closed.
|
||||
*/
|
||||
scopeField?: string;
|
||||
columns: ColumnDef[];
|
||||
/** Which standard CRUD operations are enabled. */
|
||||
operations: {
|
||||
|
||||
Reference in New Issue
Block a user