openxiangda-nest 2.0.0-alpha.21 → 2.0.0-alpha.22
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,10 @@ short-lived access tokens, refreshes before expiry and retries once after a 401.
|
|
|
18
18
|
`OpenXiangdaApplicationDataApiService` uses that identity with a null
|
|
19
19
|
RoleSession; inject it instead of the request-scoped Data API from background
|
|
20
20
|
jobs. Client id and secret must come from platform-managed runtime Secrets.
|
|
21
|
+
User-facing App API controllers must inject the request-scoped
|
|
22
|
+
`OpenXiangdaDataApiService`; it preserves the verified Gateway authorization and
|
|
23
|
+
RoleSession for data policy, audit and managed-file ownership. Never fall back
|
|
24
|
+
to application identity when a user request is missing its RoleSession.
|
|
21
25
|
|
|
22
26
|
`OpenXiangdaRuntimeLeaseService` automatically maintains the short lease that
|
|
23
27
|
elects one replica of the exact active Native deployment for background work.
|