Documentation
¶
Overview ¶
Package scope defines the canonical set of API permission scopes. All other packages (api, config, CLI) must reference this list rather than maintaining their own copies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Valid = map[string]struct{}{
"admin": {},
"chat": {},
"sessions:read": {},
"costs:read": {},
"agents:read": {},
"agents:write": {},
"skills:read": {},
"skills:write": {},
"schedules:read": {},
"schedules:write": {},
"approvals:read": {},
"approvals:write": {},
"tools:read": {},
"tools:write": {},
"browser:read": {},
"browser:write": {},
"kv:read": {},
"kv:write": {},
"health": {},
}
Valid is the authoritative set of API scope values. Every scope used in RequireScope, config validation, CLI flags, and the web dashboard must appear here.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.