mirror of
https://github.com/bitwarden/server.git
synced 2026-02-11 11:23:14 +08:00
permission checks for cipher crud operations
This commit is contained in:
@@ -127,7 +127,7 @@ namespace Bit.Api.Controllers
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
await _cipherService.DeleteAsync(cipher);
|
||||
await _cipherService.DeleteAsync(cipher, userId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user