mirror of
https://github.com/outline/outline.git
synced 2026-12-01 17:32:49 +03:00
save
This commit is contained in:
1 parent
394c32e261
commit
379bc4f24d
1 file changed
+3
-1
@@ -403,7 +403,9 @@ class UserMembership extends IdModel<
|
||||
]);
|
||||
|
||||
if (userMemberships === 1 && groupMemberships === 0) {
|
||||
throw ValidationError("At least one user must have manage permissions");
|
||||
throw ValidationError(
|
||||
"At least one user or group must have manage permissions"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user