assign_role_to_subject
Assign a role to a subject to grant all policies attached to that role, enabling role-based access control.
Instructions
Give a subject a role. The subject inherits all policies assigned to the role. Use this to build RBAC: create a role, assign policies to it, then assign the role to subjects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | Role UUID | |
| subject_id | Yes | Subject UUID |