1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/util/Migrator
Shane Melton d965166a37
[AC-2084] Include Collection permissions for admin endpoints (#3793)
* [AC-2084] Add documentation to existing collection repository getters

* [AC-2084] Add new CollectionAdminDetails model

* [AC-2084] Add SQL and migration scripts

* [AC-2084] Introduce new repository methods to include permission details for collections

* [AC-2084] Add EF repository methods and integration tests

* [AC-2084] Update CollectionsController and response models

* [AC-2084] Fix failing SqlServer test

* [AC-2084] Clean up admin endpoint response models
- vNext endpoints should now always return CollectionDetailsResponse models
- Update constructors in CollectionDetailsResponseModel to be more explicit and add named static constructors for additional clarity

* [AC-2084] Fix failing tests

* [AC-2084] Fix potential provider/member bug

* [AC-2084] Fix broken collections controller

* [AC-2084] Cleanup collection response model types and constructors

* [AC-2084] Remove redundant authorization check

* [AC-2084] Cleanup ambiguous model name

* [AC-2084] Add GroupBy clause to sprocs

* [AC-2084] Add GroupBy logic to EF repository

* [AC-2084] Update collection repository tests

* [AC-2084] Update migration script date

* Update migration script date

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
Co-authored-by: kejaeger <138028972+kejaeger@users.noreply.github.com>
2024-05-03 09:33:06 -04:00
..
DbScripts [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
DbScripts_finalization Move DbScripts_finalization to DbScripts (#3675) 2024-02-12 14:00:09 -05:00
DbScripts_transition Add gitkeep files to preserve DbScript folders even if there's no sql scripts in them (#3341) 2023-10-13 15:05:27 +02: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 [PM-6938] Allow certain database operations to be skipped (#3914) 2024-03-27 11:20:54 -04:00
DbUpLogger.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
Migrator.csproj Upgrade logging packages for .NET 8 (#3798) 2024-02-13 14:34:55 -05:00
MigratorConstants.cs [DEVOPS-1519] Add transition mode to mssql migrator utility (#3259) 2023-09-28 16:29:52 +02:00
SqlServerDbMigrator.cs [PM-6938] Allow certain database operations to be skipped (#3914) 2024-03-27 11:20:54 -04:00