Files
larksuite-cli/internal/registry/scope_overrides.json
MaxHuang22 fa929f02d6 feat: clear recommend.allow scope auto-approve overrides (#1272)
The recommend.allow list in scope_overrides.json special-cased a set of
calendar/contact/mail scopes into the auto-approve set on top of the
platform recommendations in scope_priorities.json. Remove all entries so
no scopes are special-cased anymore; auto-approve now reflects only the
platform recommend=true scopes (plus the recommend.deny removals).

Update registry tests to use a recommend=true scope (sheets:spreadsheet:read)
as the auto-approve sample and assert the override allow set is empty.

Change-Id: Ic555a2c664e2dbd742f79712253f2918dfabf7ce
2026-06-05 11:37:46 +08:00

31 lines
806 B
JSON

{
"priority_overrides": {
"im:chat:readonly": 1,
"im:message:send_as_bot": 1,
"calendar:calendar:read": 70,
"calendar:calendar:readonly": 1,
"sheets:spreadsheet:write_only": 60,
"drive:drive:readonly": 1,
"docs:doc:readonly": 1,
"sheets:spreadsheet:readonly": 1,
"vc:meeting:readonly": 1,
"vc:meeting.meetingevent:read": 75
},
"recommend": {
"allow": [],
"deny": [
"im:chat",
"im:message.send_as_user"
],
"_deny": [
"mail:user_mailbox.folder:read",
"mail:user_mailbox.folder:write",
"mail:user_mailbox.message:modify",
"mail:user_mailbox.message:readonly",
"mail:user_mailbox.message:send",
"mail:user_mailbox:readonly",
"sheets:spreadsheet",
"sheets:spreadsheet:readonly"
]
}
}