1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/test/Api.IntegrationTest
Thomas Avery d1155ee376
[SM-704] Extract Authorization For ServiceAccounts (#2869)
* 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

* Extract authorization out of commands

* Unit tests for authorization handler

* Formatting

* Swap to reflection for testing switch

* Swap to check read & reflections in test

* fix wording on exception

* Refactor GetAccessClient into its own query

* Use accessClientQuery in project handler
2023-05-31 13:49:58 -05:00
..
Controllers Provide anonymous user context for unauthenticated requests using LaunchDarkly (#2819) 2023-03-22 11:05:09 -04:00
Factories [PM-1188] Server owner auth migration (#2825) 2023-04-14 13:25:56 -04:00
Helpers [SM-378] Enable SM on a user basis (#2590) 2023-01-31 18:38:53 +01:00
SecretsManager [SM-704] Extract Authorization For ServiceAccounts (#2869) 2023-05-31 13:49:58 -05:00
Api.IntegrationTest.csproj [SM-153] Add scaffolded API integration test project (#2209) 2022-08-29 16:24:52 +02:00
packages.lock.json Fix Organization License Sync (#2864) 2023-04-24 13:51:08 -04:00