propose_cluster_access_policy
Propose a change to the organisation cluster access policy (the twin of ankra org access-policy set). This never changes the policy: no token may. It records a proposal and returns its apply_url; an organisation owner or admin must open that link while signed in to the Ankra web app and apply it. Give the user the link and say so. Omitted fields keep their current value; elevated_max_ttl_seconds and require_reason_from_role may be null to clear the bound. A new proposal replaces a pending one; proposals expire after 7 days, and applying fails if the policy changed in the meantime. reason is required. Requires kube_access.manage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the policy should change. The owner or admin who applies the proposal reads it. | |
| max_grant_role | No | Highest role any cluster access grant in the organisation may carry. | |
| creator_grant_role | No | Role the user who creates or imports a cluster receives on it; none seeds no grant. Must not exceed max_grant_role, and must be view or none while elevated_max_ttl_seconds is set. | |
| elevated_max_ttl_seconds | No | Longest a grant above view may last, in seconds (60 to 31536000); null removes the bound. | |
| require_reason_from_role | No | Lowest role whose grants must carry a reason: view, edit, admin or cluster-admin; null removes the bound. |