Add node location access RPCs and operator visibility
This commit is contained in:
@@ -86,6 +86,11 @@ const serverNodePolicySchema = z.object({
|
||||
allowed_roles: z.array(z.string().min(1)).default(['companion']),
|
||||
/** Optional feature gates exposed via system/node capability APIs. */
|
||||
feature_gates: z.record(z.string(), z.boolean()).default({}),
|
||||
/** Node location access controls. */
|
||||
location: z.object({
|
||||
/** Enable node.location.set/get and system.location visibility. */
|
||||
enabled: z.boolean().default(false),
|
||||
}).default({}),
|
||||
}).default({});
|
||||
|
||||
const serverSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user