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
**To use MCP tools**: Search for CloudBase tools in your IDE (e.g., `ToolSearch` with keyword "cloudbase") or use `npx mcporter call cloudbase.<tool>`.
48
+
13
49
## Standalone Install Note
14
50
15
51
If this environment only installed the current skill, start from the CloudBase main entry and use the published `cloudbase/references/...` paths for sibling skills.
Copy file name to clipboardExpand all lines: config/source/skills/cloudbase-cli/references/permission.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# Permission — CloudBase CLI
2
2
3
+
## ⚠️ CLI Availability Check
4
+
5
+
**Before proceeding, verify that CloudBase CLI (`tcb`) is available.** Run `tcb --version` to check.
6
+
7
+
**If CLI is unavailable** (command not found or disabled), use MCP tools instead:
8
+
9
+
| CLI Command | MCP Tool Equivalent |
10
+
|-------------|---------------------|
11
+
|`tcb permission get [resource]`|`queryPermissions(action="getResourcePermission", resourceType="...", resourceName="...")`|
12
+
|`tcb permission set <resource>`|`managePermissions(action="updateResourcePermission", resourceType="...", resourceName="...", aclTag="...", rule="...")`|
13
+
|`tcb role list/get/create/update/delete`|`queryPermissions(action="listRoles"/"getRole")` / `managePermissions(action="createRole"/"updateRole"/"deleteRole")`|
14
+
|`tcb user list/create/update/delete`|`queryPermissions(action="listUsers"/"getUser")` / `managePermissions(action="createUser"/"updateUser"/"deleteUser")`|
15
+
16
+
To discover available MCP tools, use `ToolSearch` with keyword "cloudbase" or run `npx mcporter describe cloudbase --all-parameters`.
17
+
18
+
---
19
+
3
20
CloudBase access control has **three independent layers** — know which one to use before running any command:
0 commit comments