1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00
bitwarden-server/test/Core.Test/AutoFixture
Thomas Rittson 66629b2f1c
Refactor policy checks (#1536)
* Move policy checking logic inside PolicyService

* Refactor to use currentContext.ManagePolicies

* Make orgUser status check more semantic

* Fix single org user checks

* Use CoreHelper implementation to deserialize json

* Refactor policy checks to use db query

* Use new db query for enforcing 2FA Policy

* Add Policy_ReadByTypeApplicableToUser

* Stub out EF implementations

* Refactor: use PolicyRepository only

* Refactor tests

* Copy SQL queries to proj and update sqlproj file

* Refactor importCiphersAsync to use new method

* Add EF implementations and tests

* Refactor SQL to remove unnecessary operations
2021-09-28 06:54:28 +10:00
..
Attributes Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
Relays Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
CipherAttachmentMetaDataFixtures.cs Use sas token for attachment downloads (#1153) 2021-02-22 15:35:16 -06:00
CipherFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
CollectionCipherFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
CollectionFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
CurrentContextFixtures.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
DeviceFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
EmergencyAccessFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
EntityFrameworkRepositoryFixtures.cs Refactor policy checks (#1536) 2021-09-28 06:54:28 +10:00
EventFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
FixtureExtensions.cs Validate cipher updates with revision date (#994) 2020-11-23 08:48:05 -06:00
FolderFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
GlobalSettingsFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
GrantFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
GroupFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
GroupUserFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
InstallationFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
ISutProvider.cs Validate cipher updates with revision date (#994) 2020-11-23 08:48:05 -06:00
OrganizationFixtures.cs Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
OrganizationUserFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
PolicyFixtures.cs Refactor policy checks (#1536) 2021-09-28 06:54:28 +10:00
SendFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
SsoConfigFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
SsoUserFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
SutProvider.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
SutProviderCustomization.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
TaxRateFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
TransactionFixutres.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
U2fFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
UserFixtures.cs Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00