df_set_project_access
Grant or change a user's access level on a DataForge project. Enforces downgrade-only roles and requires project owner or admin authorization.
Instructions
WRITES TO DATAFORGE. Grant or change a user's access level on a project. Downgrade-only: a level above the user's global role is rejected. Requires the caller to be the project owner or a company administrator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| project_id | Yes | ||
| access_level | Yes | ||
| idempotency_key | No | Optional UUID v4. Reusing a key within 24 hours replays the original response instead of applying the change twice. One is generated automatically when omitted. |