Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions skills/xapi-provider/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,15 @@ or prove upstream health. Dedicated CLI readiness support is still pending.

Scope and ownership are independent. A key with a scope cannot manage another
provider's service or Skill.

An owner can also limit a key to selected services. That key lists only those
services, gets `404 API service not found` for any other service, and adds each
service it creates to its own selection.

A missing permission returns `403` with `code: API_KEY_SCOPE_MISSING`,
`requiredPermission`, and `grantedBy` (the console permission groups that
include it). Report `requiredPermission` to the user. Only the owner, logged in
to the xAPI console with a full account login, can change a key's permissions,
service selection, IP allowlist, or limit; a session obtained by logging in
with an API Key cannot. The console's Developer template covers the operations
above except rollback and deletion.
6 changes: 6 additions & 0 deletions skills/xapi/guides/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ manage another provider's service or Skill. These commands validate the owner
path; they do not prove a separate administrator can view or review a working
revision.

A key limited to selected services lists only those services and gets
`404 API service not found` for the others; services it creates join its
selection. A missing permission returns `403 API_KEY_SCOPE_MISSING` with
`requiredPermission` and `grantedBy`. Key permissions, service selection, IP
allowlist, and limit change only in the console after a full account login.

## Create and describe a service

Create uses the backend service DTO as JSON so credentials and endpoint
Expand Down
Loading