@7365admin1/core 3.64.0 → 3.64.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 +15 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/test/role-scope.test.mjs +26 -0
package/dist/index.mjs
CHANGED
|
@@ -88531,6 +88531,10 @@ function useRoleControllerV2() {
|
|
|
88531
88531
|
if (value.org) {
|
|
88532
88532
|
await requireOrgReach(req, value.org);
|
|
88533
88533
|
}
|
|
88534
|
+
requireNoPlatformGrant(
|
|
88535
|
+
{ type: value.type, org: value.org, permissions: [] },
|
|
88536
|
+
value.permissions
|
|
88537
|
+
);
|
|
88534
88538
|
requireWithinModules(
|
|
88535
88539
|
await moduleCeiling(value.org, value.site),
|
|
88536
88540
|
value.permissions
|