You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/source/skills/cloudbase-platform/SKILL.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,6 +191,69 @@ Compatibility note:
191
191
5.**Cross-Collection Operations**:
192
192
- If user has no special requirements, operations involving cross-database collections must be implemented via cloud functions
193
193
194
+
## Role Management (MCP)
195
+
196
+
CloudBase MCP provides role management capabilities through the `queryPermissions` and `managePermissions` tools. These are equivalent to the CLI `tcb role` commands.
197
+
198
+
**⚠️ CRITICAL: Role policies and resource permissions are two independent systems with NO automatic synchronization.**
199
+
200
+
- Resource permissions (security rules) control access to specific resources (tables, collections, functions, storage)
201
+
- Roles (identity dimension) control policy bundles and member assignments
202
+
203
+
### Available Actions
204
+
205
+
**Query Operations** (via `queryPermissions`):
206
+
| Action | Description |
207
+
|--------|-------------|
208
+
|`listRoles`| List all roles (system and custom) |
209
+
|`getRole`| Get detailed role information by roleId/roleIdentity/roleName |
0 commit comments