1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-03 18:57:35 +01:00
bitwarden-server/test/Api.Test/SecretsManager
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
..
Controllers [SM-716] Adding ability for service account to have write access (#3021) 2023-06-30 17:17:41 +00:00
Enums [SM-485] Add access policy on project creation (#2678) 2023-02-09 08:58:05 -06:00