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;
|
description: string;
|
||||||
/** Primary key column name. */
|
/** Primary key column name. */
|
||||||
idColumn: string;
|
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[];
|
columns: ColumnDef[];
|
||||||
/** Which standard CRUD operations are enabled. */
|
/** Which standard CRUD operations are enabled. */
|
||||||
operations: {
|
operations: {
|
||||||
|
|||||||
Reference in New Issue
Block a user