fix: job groups & schedules, engine version#514
Conversation
|
This PR will trigger a patch release when merged. |
# [@adobe/spacecat-shared-ahrefs-client-v1.6.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.6.1...@adobe/spacecat-shared-ahrefs-client-v1.6.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-ahrefs-client-v1.6.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-content-client-v1.3.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.3.1...@adobe/spacecat-shared-content-client-v1.3.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-content-client-v1.3.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-data-access-v1.61.7](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.61.6...@adobe/spacecat-shared-data-access-v1.61.7) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-data-access-v1.61.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-dynamo-v1.5.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-dynamo-v1.5.1...@adobe/spacecat-shared-dynamo-v1.5.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-dynamo-v1.5.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-example-v1.2.20](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-example-v1.2.19...@adobe/spacecat-shared-example-v1.2.20) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-example-v1.2.20 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-google-client-v1.4.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-google-client-v1.4.1...@adobe/spacecat-shared-google-client-v1.4.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-google-client-v1.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-gpt-client-v1.4.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.4.1...@adobe/spacecat-shared-gpt-client-v1.4.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-gpt-client-v1.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-http-utils-v1.9.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.9.1...@adobe/spacecat-shared-http-utils-v1.9.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-http-utils-v1.9.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-ims-client-v1.5.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ims-client-v1.5.1...@adobe/spacecat-shared-ims-client-v1.5.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-ims-client-v1.5.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-rum-api-client-v2.17.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.17.1...@adobe/spacecat-shared-rum-api-client-v2.17.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-rum-api-client-v2.17.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-slack-client-v1.5.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-slack-client-v1.5.1...@adobe/spacecat-shared-slack-client-v1.5.2) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-slack-client-v1.5.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [@adobe/spacecat-shared-utils-v1.25.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.25.2...@adobe/spacecat-shared-utils-v1.25.3) (2024-12-31) ### Bug Fixes * job groups & schedules, engine version ([#514](#514)) ([995f81e](995f81e))
|
🎉 This PR is included in version @adobe/spacecat-shared-utils-v1.25.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## Summary Adds read-only org / read-only admin behavior in `@adobe/spacecat-shared-http-utils`: shared LaunchDarkly feature flag, IMS validation gate for read-only orgs, JWT claims support, route helpers, S2S wrapper updates, and `readOnlyAdminWrapper` for LD + read/write route enforcement. Coordinates with **spacecat-auth-service**: [adobe/spacecat-auth-service#514](adobe/spacecat-auth-service#514). ## Changes - **`constants.js`** — `FF_READ_ONLY_ADMIN` (`FT_LLMO-3008`) as single source for LD key - **`handlers/ims.js`** — After profile/orgs, evaluate LD for first org; when flag is on, log (warn) and treat as unauthorized (client sees generic failure; existing catch logs detail) - **`read-only-admin-wrapper.js`** — `LaunchDarklyClient.createFrom(context)`; 403 for disallowed methods when RO admin + flag on - **`route-utils.js`** — Route read/write classification for wrappers - **`handlers/jwt.js`**, **`auth-info.js`**, **`s2s-wrapper.js`** — Read-only admin claims / capability alignment - **Exports** — `index.js` + `index.d.ts` for new APIs - **Tests** — `ims`, `read-only-admin-wrapper`, `route-utils` (esmock for LaunchDarkly) - **Dependencies** — `@adobe/spacecat-shared-launchdarkly-client`; dev `esmock`; `package-lock.json` updated ## Consumer notes - Bump `@adobe/spacecat-shared-http-utils` in services that use IMS / admin wrappers after release. - Align rollout with auth-service **#514** (flag + behavior). ## Test plan - [x] `npm run lint -w packages/spacecat-shared-http-utils` - [ ] `npm test -w packages/spacecat-shared-http-utils` (run in CI / locally)
No description provided.