@budibase/shared-core 2.15.3 → 2.15.6

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
@@ -5373,7 +5373,7 @@ function hasAppCreatorPermissions(user) {
5373
5373
  return _.flow(
5374
5374
  _.get("roles"),
5375
5375
  _.values,
5376
- _.find((x) => x === "CREATOR"),
5376
+ _.find((x) => ["CREATOR", "ADMIN"].includes(x)),
5377
5377
  (x) => !!x
5378
5378
  )(user);
5379
5379
  }