1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

[PS-165] Missing copy verification code (#2022)

* Made changes to organization details endpoint

* Fixed formatting

* Added script to utils directory
This commit is contained in:
Gbubemi Smith
2022-06-07 16:52:07 +01:00
committed by GitHub
parent 60a167f2b7
commit 64edad8f49
9 changed files with 123 additions and 7 deletions

View File

@ -11,6 +11,7 @@ namespace Bit.Core.Repositories
{
Task<CipherDetails> GetByIdAsync(Guid id, Guid userId);
Task<CipherOrganizationDetails> GetOrganizationDetailsByIdAsync(Guid id);
Task<ICollection<CipherOrganizationDetails>> GetManyOrganizationDetailsByOrganizationIdAsync(Guid organizationId);
Task<bool> GetCanEditByIdAsync(Guid userId, Guid cipherId);
Task<ICollection<CipherDetails>> GetManyByUserIdAsync(Guid userId, bool withOrganizations = true);
Task<ICollection<Cipher>> GetManyByOrganizationIdAsync(Guid organizationId);