@adobe/spacecat-shared-data-access 3.55.1 → 3.56.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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [@adobe/spacecat-shared-data-access-v3.56.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.55.1...@adobe/spacecat-shared-data-access-v3.56.0) (2026-05-04)
2
+
3
+ ### Features
4
+
5
+ * **data-access:** add readAll capability to Consumer.CAPABILITIES ([#1573](https://github.com/adobe/spacecat-shared/issues/1573)) ([4475928](https://github.com/adobe/spacecat-shared/commit/44759289abb95bc22c58d59327ff3e881d39c430))
6
+
1
7
  ## [@adobe/spacecat-shared-data-access-v3.55.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.55.0...@adobe/spacecat-shared-data-access-v3.55.1) (2026-04-29)
2
8
 
3
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "3.55.1",
3
+ "version": "3.56.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -51,7 +51,12 @@ class Consumer extends BaseModel {
51
51
  return super.save();
52
52
  }
53
53
 
54
- static CAPABILITIES = ['read', 'write', 'delete'];
54
+ /**
55
+ * Valid capability actions. `readAll` is a scope+verb hybrid — it grants enumeration
56
+ * across all tenants and is only meaningful on routes that explicitly opt in
57
+ * (`site` and `organization`). Schema validity does not imply a reachable route.
58
+ */
59
+ static CAPABILITIES = ['read', 'write', 'delete', 'readAll'];
55
60
 
56
61
  static IMS_ORG_ID_REGEX = /^[a-z0-9]{24}@AdobeOrg$/i;
57
62