mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
org id check on edit collections
This commit is contained in:
@@ -73,6 +73,9 @@ export class EditCommand {
|
||||
if (cipher == null) {
|
||||
return Response.notFound();
|
||||
}
|
||||
if (cipher.organizationId == null) {
|
||||
return Response.error('Item does not belong to an organization. Consider sharing it first.');
|
||||
}
|
||||
|
||||
cipher.collectionIds = req;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user