1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/test/Api.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
..
AdminConsole [AC-2170] Group modal - limit admin access - collections tab (#3998) 2024-05-02 09:55:16 +10:00
Auth [AC-1904] Implement endpoint to retrieve Provider subscription (#3921) 2024-03-28 08:46:12 -04:00
Billing/Controllers [AC-2488] Add billing endpoint to determine SM standalone for organization (#4014) 2024-04-24 16:29:04 -04:00
Controllers [AC-2084] Include Collection permissions for admin endpoints (#3793) 2024-05-03 09:33:06 -04:00
Models/Request/Accounts [PM-3565] Enforce higher minimum KDF (#3304) 2023-12-05 17:21:46 +01:00
SecretsManager [SM-923] Add project service accounts access policies management endpoints (#3993) 2024-05-02 11:06:20 -05:00
Tools [PM-3797 Part 4] Add Sends to new Key Rotation (#3442) 2023-12-12 11:58:34 -05:00
Utilities [AC-1923] Add endpoint to create client organization (#3977) 2024-04-16 13:55:00 -04:00
Vault [AC-2538] Limit admin access - fix ManageUsers custom permission (#4032) 2024-05-01 10:06:24 +10:00
Api.Test.csproj Support for passkey registration (#2885) 2023-10-30 09:40:06 -04:00