1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/util/Migrator
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
..
DbScripts Refactor policy checks (#1536) 2021-09-28 06:54:28 +10:00
MySql enh(mysql) Enforce ENGINE=InnoDB (#1470) 2021-07-29 17:12:57 -04:00
createVaultDev.sh Update dev setup guide (#1222) 2021-03-22 07:56:31 +10:00
DbMigrator.cs Fix minor bug when testing if database already exists (#1452) 2021-07-09 15:51:28 -07:00
DbUpLogger.cs bypass log filter on migrator 2019-03-25 15:20:54 -04:00
Migrator.csproj Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00