1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/test/Api.IntegrationTest/SecretsManager
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 [SM-704] Extract Authorization For ServiceAccounts (#2869) 2023-05-31 13:49:58 -05:00
Enums [SM-429] Add permission checks to access policy endpoints (#2628) 2023-02-06 11:26:06 -06:00
SecretsManagerOrganizationHelper.cs [SM-378] Enable SM on a user basis (#2590) 2023-01-31 18:38:53 +01:00