SessionSetPermissionProfileParams
Experimental
session/setPermissionProfile params: change
the profile of a loaded durable session through the existing authenticated
permission-controller transaction. A standard command; the actor
identity is the command attribution session/setApprovalMode already
uses.
Select, never create. A client selects a profile the host catalog
already admits (ExecutionPolicyProjection::permission_profiles); it may
not construct one or supply inline rules — there is no inline-rule member
and none may be added under this contract.
Fields and variants
Section titled “Fields and variants”commandId— ExperimentalprofileId— ExperimentalsessionId— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/SessionSetPermissionProfileParams
{ "description": "`session/setPermissionProfile` params: change\nthe profile of a loaded durable session through the existing authenticated\npermission-controller transaction. A standard command; the actor\nidentity is the command attribution `session/setApprovalMode` already\nuses.\n\n**Select, never create.** A client selects a profile the host catalog\nalready admits (`ExecutionPolicyProjection::permission_profiles`); it may\nnot construct one or supply inline rules — there is no inline-rule member\nand none may be added under this contract.", "properties": { "commandId": { "description": "The idempotency handle (UUIDv7).", "type": "string" }, "profileId": { "description": "The profile id to select — a stable native-catalog identifier\n(`:auto-review`, `:ask-me`, `:read-only`, `:unrestricted`, or an\nadmitted user/managed definition).", "type": "string" }, "sessionId": { "description": "The target session.", "type": "string" } }, "required": [ "commandId", "profileId", "sessionId" ], "type": "object", "x-msp-descriptor": "session/setPermissionProfile", "x-msp-stability": "experimental"}