Justin Baur
85b2a5bd94
Add #nullable disable to billing code ( #6054 )
2025-07-08 11:46:24 -04:00
Brandon Treston
81bff5e5cf
[PM-11622] use organization domains ( #5560 )
...
* DBO changes
* Add migration scripts
* wip
* wip
* wip
* add EF migrations
* run dotnet format
* cleanup
* revert business logic
* wip
* add update statement to mssql migration script
* fix user service tests
* increment license, add UseOrganizationDomains
* add migration helpers to seed initial value from UseSso
* clean up
* cleanup
* fix mssql migrations
* fix license version and test
* fix file names
* fix license json
* add missing property to license test
* rename file
* fix migrations
* fix migration
* add WHERE to helper scripts
* separate schema/data migrations
* restore comment
* Merge conflict
* fix migrations
* add new property to migration
* wip
* fix file names
* fix file name
2025-05-15 10:42:51 -04:00
Alex Morask
082bfa3c6a
[PM-21257] Revert MaxProjects license changes, limit MaxProjectsQuery to cloud-only for 2-person organizations ( #5776 )
...
* Revert "Add SmMaxProjects to OrganizationLicense (#5678 )"
This reverts commit 7fe022e26f .
* Use PricingClient in MaxProjectsQuery and limit to cloud-only (free 2-person)
2025-05-13 08:51:36 -04:00
Alex Morask
7fe022e26f
Add SmMaxProjects to OrganizationLicense ( #5678 )
...
* Add SmMaxProjects to OrganizationLicense
* Run dotnet format
2025-05-05 09:48:43 -04:00
cyprain-okeke
07a2c0e9d2
[PM-18569]Add admin sponsored families to organization license ( #5569 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Add `Notes` column to `OrganizationSponsorships` table
* Add feature flag to `CreateAdminInitiatedSponsorshipHandler`
* Unit tests for `CreateSponsorshipHandler`
* More tests for `CreateSponsorshipHandler`
* Forgot to add `Notes` column to `OrganizationSponsorships` table in the migration script
* `CreateAdminInitiatedSponsorshipHandler` unit tests
* Fix `CreateSponsorshipCommandTests`
* Encrypt the notes field
* Wrong business logic checking for invalid permissions.
* Wrong business logic checking for invalid permissions.
* Remove design patterns
* duplicate definition in Constants.cs
* initial commit
* Merge Change with pm-17830 and use the property
* Add the new property to download licence
* Add the new property
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
* Remove the unsed failing test
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
* Remove unused method
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
---------
Signed-off-by: Cy Okeke <cokeke@bitwarden.com >
Co-authored-by: Jonas Hendrickx <jhendrickx@bitwarden.com >
2025-04-28 19:21:52 +01:00
Vijay Oommen
0f0c3a4e5a
[PM-19423] Update an existing org with license should set UseRiskInsights flag ( #5539 )
2025-04-03 08:35:29 -05:00
Conner Turnbull
677265b1e1
[PM-17177] Added additional validation to ensure license claim values aren't null ( #5280 )
...
* Added additional validation to ensure license claim values aren't null
* Added extra not null validation for any property with a type that can possibly be null
2025-01-16 15:27:48 -05:00
Conner Turnbull
f74b94b5f7
[PM-16700] Handling nulls in UserLicenseClaimsFactory ( #5217 )
...
* Handling nulls in UserLicenseClaimsFactory
* Only setting Token if the flag is enabled
2025-01-03 20:34:29 +00:00
Addison Beck
092b0b8bd2
Remove LimitCollectionCreationDeletionSplit feature flag ( #4809 )
...
* Remove references to feature flag
* Demote entity property to an EF shadow property
* Add a few excludes to license file tests
2024-12-06 11:46:17 +01:00
Conner Turnbull
04cf513d78
[PM-11516] Initial license file refactor ( #5002 )
...
* Added the ability to create a JWT on an organization license that contains all license properties as claims
* Added the ability to create a JWT on a user license that contains all license properties as claims
* Added ability to consume JWT licenses
* Resolved generic type issues when getting claim value
* Now validating the jwt signature, exp, and iat
* Moved creation of ClaimsPrincipal outside of licenses given dependecy on cert
* Ran dotnet format. Resolved identity error
* Updated claim types to use string constants
* Updated jwt expires to be one year
* Fixed bug requiring email verification to be on the token
* dotnet format
* Patch build process
---------
Co-authored-by: Matt Bishop <mbishop@bitwarden.com >
2024-12-05 14:31:14 +00:00