@budibase/backend-core 2.9.39-alpha.2 → 2.9.39-alpha.3
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
|
@@ -10918,7 +10918,7 @@ function getDBRoleID(roleName) {
|
|
|
10918
10918
|
return prefixRoleID(roleName);
|
|
10919
10919
|
}
|
|
10920
10920
|
function getExternalRoleID(roleId, version) {
|
|
10921
|
-
if (roleId.startsWith("role" /* ROLE */) && isBuiltin(roleId) || version === RoleIDVersion.NAME) {
|
|
10921
|
+
if (roleId.startsWith("role" /* ROLE */) && (isBuiltin(roleId) || version === RoleIDVersion.NAME)) {
|
|
10922
10922
|
return roleId.split(`${"role" /* ROLE */}${SEPARATOR}`)[1];
|
|
10923
10923
|
}
|
|
10924
10924
|
return roleId;
|