1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-05 19:17:36 +01:00
bitwarden-server/test/Api.Test/Vault/Controllers
Shane Melton 45be4d5069
[AC-1707] Restrict provider access to items (#3881)
* [AC-2274] Introduce CanEditAnyCiphersAsAdminAsync helper to replace EditAnyCollection usage

* [AC-2274] Add unit tests for CanEditAnyCiphersAsAdmin helper

* [AC-2274] Add Jira ticket

* [AC-1707] Add feature flag

* [AC-1707] Update CanEditAnyCiphersAsAdmin to fail for providers when the feature flag is enabled

* [AC-2274] Undo change to purge endpoint

* [AC-2274] Update admin checks to account for unassigned ciphers

* [AC-1707] Fix provider auth checks after merge with main

* [AC-1707] Fix tests after merge

* [AC-1707] Adjust CanEditCipherAsAdmin method to properly account for admin user types

- Fix associated unit tests

* [AC-1707] Formatting
2024-05-07 12:30:48 -07:00
..
CiphersControllerTests.cs [AC-1707] Restrict provider access to items (#3881) 2024-05-07 12:30:48 -07:00
SyncControllerTests.cs Replace async void with async Task (#3835) 2024-02-22 11:59:08 -05:00