Fix token access documentation: clarify that user tokens can access global...

Fix token access documentation: clarify that user tokens can access global endpoints, global tokens have admin access
parent 0ca1aa4c
...@@ -439,9 +439,9 @@ Authorization: Bearer YOUR_API_TOKEN ...@@ -439,9 +439,9 @@ Authorization: Bearer YOUR_API_TOKEN
| `GET /api/u/{username}/{config_type}/models` | List models for specific config type | | `GET /api/u/{username}/{config_type}/models` | List models for specific config type |
**Access Control:** **Access Control:**
- **Admin Users** have access to both global and user configurations - **Global Tokens** (from `aisbf.json`): Full admin access to all configurations and endpoints
- **Regular Users** can only access their own configurations - **User Tokens** (from dashboard): Access to their user-specific endpoints (`/api/u/username/...`) and global endpoints, but not admin functions
- **Global Tokens** have full access to all configurations - **Admin Users**: Full access to all configurations and endpoints
#### Example: Using User API with cURL #### Example: Using User API with cURL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment