fix(experiences): enable issuing standalone Firestorm viewer manage API keys (#162)
* fix(experiences): allow standalone viewer:manage API key without privilege bundling * test(experiences): viewer manage key issuance, persistence and mixed privilege rejection * feat(admin-ui): offer dedicated Firestorm Experience acquisition management key checkbox * docs(experiences): precise HTTPS admin UI key issuance and developer simulator provisioning * docs(worldapi): document third Firestorm management-only machine key and issuing procedure * ci(experiences): enforce management-key issuing scope and admin UI wiring
This commit is contained in:
1 parent
cb3ebb6ff0
commit
6dc73f2adf
6 files changed
+110
-6
No files matched your search
@@ -630,7 +630,7 @@ The full key is returned exactly once. Its secret is persisted only as a PBKDF2-
|
||||
|
||||
`data/nexverse-api-keys.json`
|
||||
|
||||
Supported machine scopes are explicit NexVerse functional scopes such as `regions:read`, `regions:manage`, `users:read`, `inventory:read`, `estates:read`, `estates:manage`, `economy:read` and their documented write/transfer counterparts. The simulator's Experiences adapter uses dedicated `experiences:script` credentials for LSL and, **separately**, an `experiences:viewer:permissions` machine key for Firestorm Allow/Block/Forget. The latter MUST be issued as its **only** scope, not bundled with script or other permissions. The broader `experiences:manage` and administrator permissions remain unavailable to machine API keys.
|
||||
Supported machine scopes are explicit NexVerse functional scopes such as `regions:read`, `regions:manage`, `users:read`, `inventory:read`, `estates:read`, `estates:manage`, `economy:read` and their documented write/transfer counterparts. The simulator's Experiences adapter uses three **different** single-purpose machine credentials: `experiences:script` for LSL; `experiences:viewer:permissions` for Firestorm Allow/Block/Forget; and `experiences:viewer:manage` for the avatar-bound Firestorm Experience purchase/profile editor. Both `experiences:viewer:permissions` and `experiences:viewer:manage` MUST be issued as their **only** scope, never bundled with script, economy or other permissions. They require an authorized administrator to issue credentials through `POST /api/v1/auth/api-keys` (Admin Bearer, `admin:*`) or the HTTPS `/api/v1/docs` **Schlüssel & Einrichtung** console. In the console select only **Experiences / Firestorm-Erwerb und Editor** for the new management key. The one-time plaintext key belongs only in the simulator's effective `NEXVERSE_EXPERIENCES_VIEWER_MANAGE_API_KEY` secret environment. The broader `experiences:manage` and administrator permissions remain unavailable to machine API keys.
|
||||
|
||||
API-key principals use subjects in the form `api-key:<key_id>`. Disabling a key takes effect immediately because validation is performed against the persistent key store on every request.
|
||||
|
||||
|
||||
Reference in new issue
Block a user