1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/util
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
..
Attachments Fix Attachments base image (#3190) 2023-08-15 19:48:25 -04:00
EfShared [PM-2633] Warnings cleanup (#3010) 2023-06-16 10:02:05 -04:00
Migrator [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
MsSql Update mssql to CU12 to support linux kernel 6.7.x (#3904) 2024-03-15 13:02:31 -06:00
MsSqlMigratorUtility [DEVOPS-1218] Add dryrun mode to MsSqlMigratorUtility (#3795) 2024-03-25 10:22:02 -04:00
MySqlMigrations [AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969) 2024-04-26 14:11:29 +01:00
Nginx nginx preserve upstream header values, fix ip (#2847) 2023-04-13 10:58:03 -04:00
PostgresMigrations [AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969) 2024-04-26 14:11:29 +01:00
Server [PM-5052] Upgrade to .NET 8 (#3461) 2024-02-05 13:03:42 -05:00
Setup Remove ComposeVersion from template (#3972) 2024-04-15 14:38:39 -06:00
SqliteMigrations [AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969) 2024-04-26 14:11:29 +01:00
SqlServerEFScaffold [deps] DbOps: Update EntityFrameworkCore (#3823) 2024-02-20 09:42:30 -05:00