@burtson-labs/bandit-engine 2.0.116 → 2.0.117

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/dist/index.js CHANGED
@@ -44931,10 +44931,7 @@ var Management = () => {
44931
44931
  ];
44932
44932
  const platformAdminRoles = /* @__PURE__ */ new Set([
44933
44933
  "admin",
44934
- "super-user",
44935
- "superuser",
44936
- "platform_admin",
44937
- "super_admin"
44934
+ "platform_admin"
44938
44935
  ]);
44939
44936
  const userRoles = (authenticationService.parseJwtClaims(authenticationService.getToken() ?? "")?.roles ?? []).map((r) => r.toLowerCase());
44940
44937
  const isWorkspaceAdmin = userRoles.some((r) => platformAdminRoles.has(r));