@goplusvn/core 0.1.82 → 0.1.83
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
|
@@ -125,7 +125,7 @@ export function assertWorkspacesInScope(
|
|
|
125
125
|
// [MODIFIED] Relaxed rule: allow users to operate in workspaces they are members of,
|
|
126
126
|
// without requiring explicit 'admin' privileges over them.
|
|
127
127
|
const outside = requestedWorkspaceIds.filter(
|
|
128
|
-
(id) => !isWorkspaceAdmin(actor.scope, id) && !actor.scope.
|
|
128
|
+
(id) => !isWorkspaceAdmin(actor.scope, id) && !actor.scope.rootIds.includes(id),
|
|
129
129
|
);
|
|
130
130
|
|
|
131
131
|
if (outside.length > 0) {
|