@stamhoofd/backend 2.78.0 → 2.78.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stamhoofd/backend",
3
- "version": "2.78.0",
3
+ "version": "2.78.1",
4
4
  "main": "./dist/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -37,14 +37,14 @@
37
37
  "@simonbackx/simple-encoding": "2.20.0",
38
38
  "@simonbackx/simple-endpoints": "1.19.1",
39
39
  "@simonbackx/simple-logging": "^1.0.1",
40
- "@stamhoofd/backend-i18n": "2.78.0",
41
- "@stamhoofd/backend-middleware": "2.78.0",
42
- "@stamhoofd/email": "2.78.0",
43
- "@stamhoofd/models": "2.78.0",
44
- "@stamhoofd/queues": "2.78.0",
45
- "@stamhoofd/sql": "2.78.0",
46
- "@stamhoofd/structures": "2.78.0",
47
- "@stamhoofd/utility": "2.78.0",
40
+ "@stamhoofd/backend-i18n": "2.78.1",
41
+ "@stamhoofd/backend-middleware": "2.78.1",
42
+ "@stamhoofd/email": "2.78.1",
43
+ "@stamhoofd/models": "2.78.1",
44
+ "@stamhoofd/queues": "2.78.1",
45
+ "@stamhoofd/sql": "2.78.1",
46
+ "@stamhoofd/structures": "2.78.1",
47
+ "@stamhoofd/utility": "2.78.1",
48
48
  "archiver": "^7.0.1",
49
49
  "aws-sdk": "^2.885.0",
50
50
  "axios": "1.6.8",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "7dedb2d33af820a18f9a246d2ab44016ea4fcff5"
67
+ "gitHead": "3e6f3c8bf1f8ca422b22e53ad0621f7a0cf2f01d"
68
68
  }
@@ -60,11 +60,6 @@ export class GetMembersEndpoint extends Endpoint<Params, Query, Body, ResponseBo
60
60
  },
61
61
  },
62
62
  periodId: platform.periodId,
63
- group: {
64
- defaultAgeGroupId: {
65
- $neq: null,
66
- },
67
- },
68
63
  },
69
64
  },
70
65
  };
@@ -256,6 +256,11 @@ export class AdminPermissionChecker {
256
256
  return true;
257
257
  }
258
258
 
259
+ if (this.getPlatformAccessibleOrganizationTags(permissionLevel) === 'all') {
260
+ // Can access all members: even members without any registration
261
+ return true;
262
+ }
263
+
259
264
  if (member.organizationId && await this.hasFullAccess(member.organizationId, permissionLevel)) {
260
265
  return true;
261
266
  }