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:
parent
2168b8f247
commit
6ed4e891f0
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user