Method
FoundryAcpPermissionPolicydecide
unstable since: 1.2
Declaration [src]
FoundryAcpPermissionResponse*
foundry_acp_permission_policy_decide (
FoundryAcpPermissionPolicy* self,
FoundryAcpPermissionRequest* request
)
Description [src]
Applies the headless policy to request.
The policy only auto-selects a non-destructive allow option when the request is low risk and any provided path remains inside the configured project directory. Requests outside the project, high-risk requests, unknown-risk requests, or destructive defaults are cancelled unless an explicit UI layer replaces this decision.
Available since: 1.2
Parameters
request-
Type:
FoundryAcpPermissionRequestA
FoundryAcpPermissionRequest.The data is owned by the caller of the method.