termix_roles
Manage Termix roles, user memberships, and host or folder access permissions. Create roles, assign users, share hosts, and revoke access with confirmation safeguards.
Instructions
Manage Termix roles, who is in them, and which hosts they can reach.
Read actions (run right away): list all roles members users in a role (needs role_id) user_roles roles of one user (needs user_id) users all users, to find a user_id host_access who a host is shared with (needs host_id) folder_access standing share rules for a folder (needs folder) Change actions (need confirm=true, so ask the user first): create needs name (lowercase, digits, _ or -) and display_name update needs role_id, and display_name and/or description assign needs role_id and user_id share_host needs host_id, and role_ids and/or user_ids share_folder needs folder, and role_ids and/or user_ids (also covers hosts added to that folder later) update_access needs host_id, access_id, permission_level and/or duration_hours Destructive actions (need confirm=true and confirm_phrase="METHOD /path"): delete delete a role (needs role_id) unassign take a role off a user (needs role_id and user_id) revoke_access remove a host share (needs host_id and access_id) delete_folder_rule remove a folder share rule (needs access_id) Sharing uses the host's saved credential. No passwords pass through here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| action | No | list | |
| folder | No | ||
| confirm | No | ||
| host_id | No | ||
| role_id | No | ||
| user_id | No | ||
| role_ids | No | ||
| user_ids | No | ||
| access_id | No | ||
| description | No | ||
| display_name | No | ||
| confirm_phrase | No | ||
| duration_hours | No | ||
| permission_level | No | connect |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||