返回 CodeWhale
permissions.json
根目录 / crates / tui / src / commands / contract / fixtures / config_policy / permissions.json
1 [
2 {
3 "message": "Permission rules\nSource: active user permissions.toml\nPath: \"<WORKSPACE>/permissions.toml\"\nFile status: missing\nRule count: 0\nNo permission rules configured.\n\nAccess now: Accept Edits\nAccept Edits: file edits whose every target stays inside this folder's git repository run without a prompt (never .git, .codewhale, .env or credential files); commands, network, connected apps and everything else prompt as in Ask. Ask rules above always force a prompt.\nDecisions made without a prompt (Auto-Review guardian verdicts, blocks, and holds) appear as transcript notes and in the audit log at \"<TEST_AUDIT_LOG>\". Full Access is chosen deliberately with Shift+Tab or /config, never by a rule.",
4 "error": false,
5 "action": "None"
6 },
7 {
8 "message": "Permission rules\nSource: active user permissions.toml\nPath: \"<WORKSPACE>/permissions.toml\"\nFile status: empty\nRule count: 0\nNo permission rules configured.\n\nAccess now: Accept Edits\nAccept Edits: file edits whose every target stays inside this folder's git repository run without a prompt (never .git, .codewhale, .env or credential files); commands, network, connected apps and everything else prompt as in Ask. Ask rules above always force a prompt.\nDecisions made without a prompt (Auto-Review guardian verdicts, blocks, and holds) appear as transcript notes and in the audit log at \"<TEST_AUDIT_LOG>\". Full Access is chosen deliberately with Shift+Tab or /config, never by a rule.",
9 "error": false,
10 "action": "None"
11 },
12 {
13 "message": "Permission rules\nSource: active user permissions.toml\nPath: \"<WORKSPACE>/permissions.toml\"\nFile status: present\nRule count: 2\n\n#1 | allow | exec_shell\n Effective match: exact command `cargo test`\n Scope: global — active in this workspace\n\n#2 | deny | edit_file\n Effective match: exact normalized path `src/lib.rs`\n Scope: global — active in this workspace\n\nAccess now: Accept Edits\nAccept Edits: file edits whose every target stays inside this folder's git repository run without a prompt (never .git, .codewhale, .env or credential files); commands, network, connected apps and everything else prompt as in Ask. Ask rules above always force a prompt.\nDecisions made without a prompt (Auto-Review guardian verdicts, blocks, and holds) appear as transcript notes and in the audit log at \"<TEST_AUDIT_LOG>\". Full Access is chosen deliberately with Shift+Tab or /config, never by a rule.",
14 "error": false,
15 "action": "None"
16 },
17 {
18 "message": "Error: Usage: /permissions [list|remove <rule-number> [--confirm <token>]]",
19 "error": true,
20 "action": "None"
21 },
22 {
23 "message": "Error: Usage: /permissions [list|remove <rule-number> [--confirm <token>]]",
24 "error": true,
25 "action": "None"
26 },
27 {
28 "message": "Error: Usage: /permissions [list|remove <rule-number> [--confirm <token>]]",
29 "error": true,
30 "action": "None"
31 },
32 {
33 "message": "Error: Permission rule #0 was not found; run `/permissions list` again.",
34 "error": true,
35 "action": "None"
36 },
37 {
38 "message": "Error: Permission rule #99 was not found; run `/permissions list` again.",
39 "error": true,
40 "action": "None"
41 },
42 {
43 "message": "Error: Usage: /permissions [list|remove <rule-number> [--confirm <token>]]",
44 "error": true,
45 "action": "None"
46 },
47 {
48 "message": "Error: Usage: /permissions [list|remove <rule-number> [--confirm <token>]]",
49 "error": true,
50 "action": "None"
51 },
52 {
53 "message": "Review removal of rule #1:\n#1 | allow | exec_shell\n Effective match: exact command `cargo test`\n Scope: global — active in this workspace\n\nRun `/permissions remove 1 --confirm <CONFIRM_TOKEN>` to confirm. This command expires if permissions.toml changes.",
54 "error": false,
55 "action": "None"
56 },
57 {
58 "message": "Error: Could not read or change permission rules: permissions changed after they were listed; reload \"<WORKSPACE>/permissions.toml\" and retry",
59 "error": true,
60 "action": "None"
61 },
62 {
63 "message": "Removed permission rule #1: allow exec_shell.",
64 "error": false,
65 "action": "Some(PermissionRulesChanged)"
66 }
67 ]
68
68 lines JSON