1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00

renamed to can manage

This commit is contained in:
gbubemismith 2024-10-31 09:08:03 -04:00
parent 2168b8f247
commit 6ed4e891f0
No known key found for this signature in database

View File

@ -342,8 +342,8 @@ public class CipherRepository : Repository<Core.Vault.Entities.Cipher, Cipher, G
{
var dbContext = GetDatabaseContext(scope);
var query = new CipherReadCanManageByIdUserIdQuery(userId, cipherId);
var canEdit = await query.Run(dbContext).AnyAsync();
return canEdit;
var canManage = await query.Run(dbContext).AnyAsync();
return canManage;
}
}