1
0
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:
Kyle Spearrin
2018-10-23 19:04:32 -04:00
parent e0b9d84ad5
commit ac9cf91002

View File

@@ -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 {