1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-02 13:53:23 +01:00
bitwarden-server/src/Sql
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
..
Auth/dbo [PM-4767] Update Grant_Save procedure (#3641) 2024-02-14 09:48:58 -07:00
Billing [AC-1900] Update Vault DB to support provider billing (#3875) 2024-03-21 11:15:49 -04:00
dbo [AC-2172] Member modal - limit admin access (#3934) 2024-04-29 11:02:06 +10:00
SecretsManager/dbo [SM-713] Add database support for secret access policies (#3681) 2024-02-22 10:06:39 -06:00
Tools/dbo [PM-221] Adding CipherId to the Send table, create/update sprocs, and added mi… (#3646) 2024-03-04 19:31:33 -05:00
Vault/dbo [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
Sql.sqlproj Suppress AzureSQLMaintenance Warning (#3502) 2023-12-01 12:23:24 -05:00