1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-05 19:17:36 +01:00
bitwarden-server/test/Api.IntegrationTest/SecretsManager/Controllers
Thomas Avery cf669286ed
[SM-429] Add permission checks to access policy endpoints (#2628)
* Add permission checks to access policy endpoints

* Fix unit tests

* Add service account grant permission checks

* Add service account grant tests

* Add new endpoint unit tests

* Cleanup unit tests add integration tests

* User permission enum in create tests

* Swap to NotFoundException for access checks

* Add filter for potential grantees

* Add in AccessSecretsManager check and test it

* Add code review updates

* Code review updates

* Refactor potential grantees endpoint

* Code review updates
2023-02-06 11:26:06 -06:00
..
AccessPoliciesControllerTest.cs [SM-429] Add permission checks to access policy endpoints (#2628) 2023-02-06 11:26:06 -06:00
ProjectsControllerTest.cs [SM-378] Enable SM on a user basis (#2590) 2023-01-31 18:38:53 +01:00
SecretsControllerTest.cs [SM-378] Enable SM on a user basis (#2590) 2023-01-31 18:38:53 +01:00
ServiceAccountsControllerTests.cs [SM-465] Add access policy on service account creation (#2649) 2023-02-02 12:25:14 -06:00