1
0
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:
Kyle Spearrin
2017-03-24 09:27:15 -04:00
parent 0dae19bd4f
commit 10c72fafda
10 changed files with 78 additions and 11 deletions

View File

@ -127,7 +127,7 @@ namespace Bit.Api.Controllers
throw new NotFoundException();
}
await _cipherService.DeleteAsync(cipher);
await _cipherService.DeleteAsync(cipher, userId);
}
}
}