1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00
bitwarden-server/test/Api.Test/SecretsManager/Controllers
Thomas Avery 5474d3da18
[SM-702] Extract access policy checks from create/update project commands (#2842)
* Move to access query for project commands

* Swap to hasAccess method per action

* Swap to authorization handler pattern

* Move ProjectOperationRequirement to Core

* Add default throw + tests

* Swap to reflection for testing switch
2023-05-03 09:40:24 -05:00
..
AccessPoliciesControllerTests.cs [SM-670] Add permission context to project lists. (#2822) 2023-04-26 13:09:25 -05:00
ProjectsControllerTests.cs [SM-702] Extract access policy checks from create/update project commands (#2842) 2023-05-03 09:40:24 -05:00
SecretsControllerTests.cs [SM-670] Add permission context to project lists. (#2822) 2023-04-26 13:09:25 -05:00
ServiceAccountsControllerTests.cs [SM-465] Add access policy on service account creation (#2649) 2023-02-02 12:25:14 -06:00