1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/util
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
..
Attachments adjust params for attachments server 2020-11-05 11:39:15 -05:00
DigitalOceanMarketplace bitwarden update script without .sh suffix 2019-08-22 15:19:06 -04:00
Migrator Refactor policy checks (#1536) 2021-09-28 06:54:28 +10:00
MsSql Fix typo in backup-db.sql (#1459) 2021-07-14 10:49:10 -04:00
MySqlMigrations Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Nginx Fix upload limits for direct uploads (again) (#1479) 2021-08-04 09:00:30 +10:00
PostgresMigrations Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
Server Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
Setup Fix SQL Connection String (#1584) 2021-09-16 10:54:46 -04:00