mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 19:05:07 -05: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