1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-22 02:51:33 +01:00
bitwarden-server/test/Infrastructure.IntegrationTest
SmithThe4th 46004b9c68
[PM-14381] Add POST /tasks/bulk-create endpoint (#5188)
* [PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository

* [PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework

* [PM-14378] Add integration tests for new repository method

* [PM-14378] Introduce IGetCipherPermissionsForUserQuery CQRS query

* [PM-14378] Introduce SecurityTaskOperationRequirement

* [PM-14378] Introduce SecurityTaskAuthorizationHandler.cs

* [PM-14378] Introduce SecurityTaskOrganizationAuthorizationHandler.cs

* [PM-14378] Register new authorization handlers

* [PM-14378] Formatting

* [PM-14378] Add unit tests for GetCipherPermissionsForUserQuery

* [PM-15378] Cleanup SecurityTaskAuthorizationHandler and add tests

* [PM-14378] Add tests for SecurityTaskOrganizationAuthorizationHandler

* [PM-14378] Formatting

* [PM-14378] Update date in migration file

* [PM-14378] Add missing awaits

* Added bulk create request model

* Created sproc to create bulk security tasks

* Renamed tasks to SecurityTasksInput

* Added create many implementation for sqlserver and ef core

* removed trailing comma

* created ef implementatin for create many and added integration test

* Refactored request model

* Refactored request model

* created create many tasks command interface and class

* added security authorization handler work temp

* Added the implementation for the create manys tasks command

* Added comment

* Changed return to return list of created security tasks

* Registered command

* Completed bulk create action

* Added unit tests for the command

* removed hard coded table name

* Fixed lint issue

* Added JsonConverter attribute to allow enum value to be passed as string

* Removed makshift security task operations

* Fixed references

* Removed old migration

* Rebased

* [PM-14378] Introduce GetCipherPermissionsForOrganization query for Dapper CipherRepository

* [PM-14378] Introduce GetCipherPermissionsForOrganization method for Entity Framework

* [PM-14378] Add unit tests for GetCipherPermissionsForUserQuery

* Completed bulk create action

* bumped migration version

* Fixed lint issue

* Removed complex sql data type in favour of json string

* Register IGetTasksForOrganizationQuery

* Fixed lint issue

* Removed tasks grouping

* Fixed linting

* Removed unused code

* Removed unused code

* Aligned with client change

* Fixed linting

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
2025-02-05 16:56:01 -05:00
..
AdminConsole/Repositories [pm-16528] Fix entity framework query (#5333) 2025-01-31 09:50:14 -06:00
Auth/Repositories Auth/pm 17233/tests for multiple users on single device for web approvals (#5316) 2025-01-23 11:21:28 -05:00
Comparers [PM-14376] Add GET tasks endpoint (#5089) 2024-12-12 14:27:31 -05:00
Services [AC-1722] Deprecate "Edit/Delete Assigned Collections" custom permissions (#4604) 2024-09-02 11:04:55 +01:00
Tools Fix Most Test Warnings (#4612) 2024-08-15 17:14:22 -04:00
Vault/Repositories [PM-14381] Add POST /tasks/bulk-create endpoint (#5188) 2025-02-05 16:56:01 -05:00
ConfigurationExtensions.cs Fix Most Test Warnings (#4612) 2024-08-15 17:14:22 -04:00
DatabaseDataAttribute.cs Auth/pm 2996/add auth request data to devices response model (#5152) 2025-01-07 15:52:53 -05:00
DatabaseTheoryAttribute.cs [PM-2444] Add Pipeline for Testing All Database Variants in CI (#2471) 2023-05-30 13:25:55 -04:00
DistributedCacheTests.cs [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
Infrastructure.IntegrationTest.csproj Revert updates to Microsoft.Extensions dependencies from v9 (#5235) 2025-01-08 18:04:28 -05:00
test.db [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00