Edit role
What the Screen Is For
Change a custom role’s policies and inline rules with version-aware save.
What It Shows and Lets People Do
The route applies role-reading authority, then the editor redirects built-ins and callers without role-management authority to view. Policy-reading authority separately controls the rule/composition facilities.
States and Errors
Save validates rules, submits the loaded version and reports delegation, lockout or stale-record refusals. Returned impact is feedback from the save result. The eligibility-binding operation exists in the service but no binding action is offered by this editor.
The state rows describe observed loading, empty, refusal or inactive handling where present. Linked validation rules belong to the planning layer; client feedback and authoritative service checks have distinct responsibilities.
Patterns It Must Respect
The pattern list names the built shared components and interaction patterns checked for this screen. This contract describes the existing screen; it supplies no replacement visual design.