appcrane_grant_app_access
Grant a user access to an app with a specified role. Accepts user ID, email, or username, and updates role idempotently.
Instructions
Grant a user access to an app at a specific per-app role. user accepts a numeric user id, an email, or a username — first match wins. role defaults to "user". Idempotent: existing rows are upgraded/downgraded to the new role. App-admin or owner of the app required (or global admin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | user | |
| slug | Yes | ||
| user | Yes | User id (numeric string), email, or username |