@adobe/helix-config 4.6.1 → 4.7.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,17 @@
1
+ # [4.7.0](https://github.com/adobe/helix-config/compare/v4.6.2...v4.7.0) (2024-11-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * keep group information in role for auto-migrate in admin ([#212](https://github.com/adobe/helix-config/issues/212)) ([297c482](https://github.com/adobe/helix-config/commit/297c482ff33ffe3f09da4001f342afc2176178a6))
7
+
8
+ ## [4.6.2](https://github.com/adobe/helix-config/compare/v4.6.1...v4.6.2) (2024-11-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @adobe/helix-shared-config to v11.0.9 ([#211](https://github.com/adobe/helix-config/issues/211)) ([3028353](https://github.com/adobe/helix-config/commit/30283539c3b024ca5e0637f1674db04dc597a555))
14
+
1
15
  ## [4.6.1](https://github.com/adobe/helix-config/compare/v4.6.0...v4.6.1) (2024-11-02)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "4.6.1",
3
+ "version": "4.7.0",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -47,7 +47,7 @@
47
47
  "mocha": "10.8.2",
48
48
  "mocha-multi-reporters": "1.5.1",
49
49
  "mocha-suppress-logs": "0.5.1",
50
- "nock": "13.5.5",
50
+ "nock": "13.5.6",
51
51
  "semantic-release": "24.2.0"
52
52
  },
53
53
  "lint-staged": {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@adobe/fetch": "4.1.9",
59
- "@adobe/helix-shared-config": "11.0.8",
59
+ "@adobe/helix-shared-config": "11.0.9",
60
60
  "@adobe/helix-shared-utils": "3.0.2"
61
61
  }
62
62
  }
@@ -355,6 +355,9 @@ function computeSiteAdminRoles(admin, orgConfig, configGroups = {}) {
355
355
  } else if (entry.startsWith('groups/') && entry.endsWith('.json')) {
356
356
  for (const email of resolveGroup(configGroups, entry.substring(7, entry.length - 5))) {
357
357
  users.add(email);
358
+ // keep entry in list so that admin can auto-migrate updates to the groups json
359
+ // TODO: remove after v4 EOL
360
+ users.add(entry);
358
361
  }
359
362
  } else if (entry.startsWith('/groups/')) {
360
363
  for (const email of resolveGroup(orgGroups, entry.substring(8, entry.length - 5))) {