Roles inside the app
rolesManage app access assignments: show current ones by default, or add/remove assignments such as approver or finance for selected users by email.
Instructions
Shows or changes the roles people have inside the app (the app reads them as ctx.user.roles), such as approver or finance. "show" (default), "add" or "remove" a role for some people.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role name, e.g. approver | |
| action | No | What to do | |
| emails | No | Work email addresses | |
| directory | No | Absolute path of the app's folder (the one with teamonly.json). Defaults to the folder the server started in. |