@adobe/helix-config 5.1.0 → 5.1.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
+ ## [5.1.1](https://github.com/adobe/helix-config/compare/v5.1.0...v5.1.1) (2025-04-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * resolve groups correctly ([#258](https://github.com/adobe/helix-config/issues/258)) ([7971230](https://github.com/adobe/helix-config/commit/797123067f6028828657eececfc48fbf1d6ae484))
7
+
1
8
  # [5.1.0](https://github.com/adobe/helix-config/compare/v5.0.0...v5.1.0) (2025-04-04)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -412,14 +412,14 @@ function computeSiteAdminRoles(admin, orgConfig, configGroups = {}) {
412
412
  users.add(entry);
413
413
  const reference = entry.endsWith('.json')
414
414
  ? entry.substring(7, entry.length - 5)
415
- : entry;
415
+ : entry.substring(7);
416
416
  for (const email of resolveGroup(configGroups, reference)) {
417
417
  users.add(email);
418
418
  }
419
419
  } else if (entry.startsWith('/groups/')) {
420
420
  const reference = entry.endsWith('.json')
421
421
  ? entry.substring(8, entry.length - 5)
422
- : entry;
422
+ : entry.substring(8);
423
423
  for (const email of resolveGroup(orgGroups, reference)) {
424
424
  users.add(email);
425
425
  }