@gravity-rail/sdk 0.49.0 → 0.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -365,7 +365,9 @@ const operators = await client.getLiveOperators(workspaceId);
365
365
 
366
366
  ### Sites & Portals
367
367
 
368
- Site record write methods may return a successful value-free receipt: `fieldValues` is empty and `memberId` / `memberName` / `externalId` are null unless Reading Records, level-2 sign-in verification, and the row read policy all allow values. This includes partial updates, resubmissions and upserts. The write still succeeds; use a permitted record read to load stored values.
368
+ Site settings accept `allowedScopes: ['records:read', 'records:write', 'records:admin']` for Manage Records. This opt-in exposes only record scopes the signed-in Member’s current role already allows, within the Site workspace. It permits existing record administration, including other Members’ records, admin-only fields, and deletion. The default is `[]`; read/write opt-ins remain independent. Unrelated administrative scopes stay suppressed.
369
+
370
+ Site record write methods may return a successful value-free receipt: `fieldValues` is empty and `memberId` / `memberName` / `externalId` are null unless Reading Records and the row read policy both allow values. This includes partial updates, resubmissions and upserts. The write still succeeds; use a permitted record read to load stored values.
369
371
 
370
372
  ```typescript
371
373
  // Build customer-facing portals with AI chat built in