1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00
bitwarden-server/test
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
..
Admin.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
Api.IntegrationTest [SM-923] Add project service accounts access policies management endpoints (#3993) 2024-05-02 11:06:20 -05:00
Api.Test [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
Billing.Test Removed the need to verify requests as CloudOps added an ACL on the network (#3882) 2024-03-11 10:03:10 -04:00
Common Stop using lockfiles (#3550) 2023-12-12 09:09:42 -05:00
Core.Test [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
Events.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
EventsProcessor.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
Icons.Test [PM-5052] Upgrade to .NET 8 (#3461) 2024-02-05 13:03:42 -05:00
Identity.IntegrationTest [PM-7335] [deps] Auth: Update Duende.IdentityServer to v7 (#3709) 2024-04-30 09:50:36 -07:00
Identity.Test [PM-3777[PM-3633] Update minimum KDF iterations when creating new User record (#3687) 2024-01-25 10:59:53 -05:00
Infrastructure.EFIntegration.Test [BEEEP] begin 2fa integration tests for identity (#3843) 2024-04-05 09:30:42 -04:00
Infrastructure.IntegrationTest [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
IntegrationTestCommon [BEEEP][SM-893] Add the ability to run SM integration tests as a service account (#3187) 2024-03-29 11:00:30 -05:00
Notifications.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
bitwarden.tests.sln Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00