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/Commands
cd-bitwarden 3f3f52399b
[SM-716] Adding ability for service account to have write access (#3021)
* adding ability for service account to have write access

* Suggested changes

* fixing tests

* dotnet format changes

* Adding RunAsServiceAccountWIthPermission logic to ProjectAuthorizationhandlerTests

* Removing logic that prevents deleting and updating a secret. Adding Service Account logic to tests inside of secretAuthorizationhandlerTests.

* Removing Service Account from CanUpdateSecret_NotSupportedClientTypes_DoesNotSuceed because it is a supported client type now :)

* thomas sugested changes

* using Arg.Any<AccessClientType>() instead of default in tests

* merge conflict changes and code updates to remove service account tests that are  outdated

* fixing tests

* removing extra  spaces that lint hates
2023-06-30 17:17:41 +00:00
..
AccessPolicies [SM-702] Extract access policy checks from create/update project commands (#2842) 2023-05-03 09:40:24 -05:00
AccessTokens [SM-705] Extract Authorization from Access Token Commands (#2928) 2023-06-13 15:30:44 -05:00
Projects [SM-716] Adding ability for service account to have write access (#3021) 2023-06-30 17:17:41 +00:00
Secrets [SM-788] Extract authorization from secret delete command (#3003) 2023-06-27 13:12:34 -05:00
ServiceAccounts [SM-704] Extract Authorization For ServiceAccounts (#2869) 2023-05-31 13:49:58 -05:00
Trash [SM-702] Extract access policy checks from create/update project commands (#2842) 2023-05-03 09:40:24 -05:00