1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-13 22:40:48 -05:00
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
..
2019-09-18 09:47:25 -04:00
2021-09-28 06:54:28 +10:00
2017-06-02 16:52:54 -04:00
2017-03-18 11:35:41 -04:00
2018-10-18 08:38:22 -04:00
2019-09-18 09:47:25 -04:00
2020-11-02 15:55:49 -05:00
2021-05-25 19:23:47 +02:00