@adobe/helix-config 4.7.0 → 4.7.1

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,10 @@
1
+ ## [4.7.1](https://github.com/adobe/helix-config/compare/v4.7.0...v4.7.1) (2024-11-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * also add unresolved groups ([#213](https://github.com/adobe/helix-config/issues/213)) ([af67827](https://github.com/adobe/helix-config/commit/af67827952f5b55d4d57a63ff08c522192271473))
7
+
1
8
  # [4.7.0](https://github.com/adobe/helix-config/compare/v4.6.2...v4.7.0) (2024-11-13)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -353,11 +353,11 @@ function computeSiteAdminRoles(admin, orgConfig, configGroups = {}) {
353
353
  if (entry.indexOf('@') > 0) {
354
354
  users.add(entry);
355
355
  } else if (entry.startsWith('groups/') && entry.endsWith('.json')) {
356
+ // keep entry in list so that admin can auto-migrate updates to the groups json
357
+ // TODO: remove after v4 EOL
358
+ users.add(entry);
356
359
  for (const email of resolveGroup(configGroups, entry.substring(7, entry.length - 5))) {
357
360
  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);
361
361
  }
362
362
  } else if (entry.startsWith('/groups/')) {
363
363
  for (const email of resolveGroup(orgGroups, entry.substring(8, entry.length - 5))) {