mirror of
https://github.com/bitwarden/server.git
synced 2026-04-11 14:39:36 -05:00
* initial send controls * update vNext methods and add test coverage for policy validators * add comments to tests * Apply suggestion from @mkincaid-bw • `IX_Policy_OrganizationId_Type` is a unique index Co-authored-by: mkincaid-bw <mkincaid@bitwarden.com> * renamne migrations for correct sorting * respond to csharp related review comments * fix failing lints * fix tests * revise policy sync logic * revise policy event logic and tests * add integration tests - fix SQL syntax error - escape Sqlite format specifier - update migration IDs to match sorted filename - fix SQL syntax error * OR legacy policy data with SendControls policy data * remove migrations and associated integration test * whitespacing and comment correction * aggregate kegacy Send policies in PolicyQuery and adjust PoliciesController logic * add comments to simplify post-migration cleanup * consolidate legacy Send policy synthesis from PoliciesController into PolicyQuery.GetAllAsync * respond to review comments and other minor fixes --------- Co-authored-by: mkincaid-bw <mkincaid@bitwarden.com>