1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00
bitwarden-server/bitwarden_license/test/Commercial.Core.Test/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
..
AuthorizationHandlers [SM-704] Extract Authorization For ServiceAccounts (#2869) 2023-05-31 13:49:58 -05:00
Commands [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