1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-05 19:17:36 +01:00
bitwarden-server/test/Core.Test/Services
Rui Tomé bcf096971b
[PM-1879] Allow custom users to grant the same custom permissions that they have (#2897)
* [PM-1879] Replaced JsonSerializer.Serialize with CoreHelpers.ClassToJsonData

* [PM-1879] Changed OrganizationService.SaveUserAsync to check Custom permissions

* [PM-1879] Added unit tests for saving Custom permissions using a Custom user

* [PM-1879] Added method OrganizationUser.GetPermissions to deserialize the Permissions property

* [PM-1879] Refactored ValidateCustomPermissionsGrant to return bool

* [PM-1879] Added unit test SaveUser_WithCustomPermission_WhenUpgradingToAdmin_Throws
2023-05-17 14:17:37 +01:00
..
AmazonSesMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AmazonSqsBlockIpServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AppleIapServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueueBlockIpServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueueEventWriteServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
AzureQueuePushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
CollectionServiceTests.cs [EC-647] OAVR v2 Feature Branch Merge (#2588) 2023-01-19 11:00:54 -05:00
DeviceServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
EventServiceTests.cs [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
GroupServiceTests.cs [EC-654] Create commands for Group Create and Group Update (#2442) 2022-12-12 09:59:48 +00:00
HandlebarsMailServiceTests.cs Fix typos in comments (#2876) 2023-05-09 17:38:47 +02:00
InMemoryApplicationCacheServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
InMemoryServiceBusApplicationCacheServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
LaunchDarklyFeatureServiceTests.cs Remove Secrets Manager LaunchDarkly feature flag (#2925) 2023-05-11 10:27:58 -04:00
LicensingServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
LocalAttachmentStorageServiceTests.cs [PM-1969] Spellcheck other (#2878) 2023-05-17 12:14:36 +02:00
MailKitSmtpMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
MultiServicePushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
NotificationHubPushNotificationServiceTests.cs [SG-419] Added logging to mobile push notifications (#2332) 2022-10-19 10:22:40 -04:00
NotificationHubPushRegistrationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
NotificationsApiPushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
OrganizationDomainServiceTests.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
OrganizationServiceTests.cs [PM-1879] Allow custom users to grant the same custom permissions that they have (#2897) 2023-05-17 14:17:37 +01:00
PolicyServiceTests.cs [EC-787] Create a method in PolicyService to check if a policy applies to a user (#2537) 2023-05-12 08:22:19 +01:00
RelayPushNotificationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RelayPushRegistrationServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
RepositoryEventWriteServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
SendGridMailDeliveryServiceTests.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
StripePaymentServiceTests.cs [AC 482]automatically apply discounts to provider portal orgs (#2801) 2023-04-10 14:40:04 +01:00
UserServiceTests.cs [PM-1188] Server owner auth migration (#2825) 2023-04-14 13:25:56 -04:00