1
0
mirror of https://github.com/bitwarden/server synced 2026-01-21 11:53:41 +00:00
Files
server/src/Sql/dbo/Stored Procedures
Jonas Hendrickx c182b37347 [PM-17830] Backend changes for admin initiated sponsorships (#5531)
* 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

* Allow rollback

* Fix stored procedures & type

* Fix stored procedures & type

* Properly encapsulating this PR behind its feature flag

* Removed comments

* Updated ValidateSponsorshipCommand to validate admin initiated requirements

---------

Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
Co-authored-by: Conner Turnbull <cturnbull@bitwarden.com>
2025-04-16 11:27:58 -04:00
..
2019-03-07 15:18:27 -05:00
2017-06-21 16:59:11 -04:00
2024-10-31 17:05:13 -04:00
2017-06-02 16:52:54 -04:00
2024-10-31 17:05:13 -04:00
2017-05-08 14:08:44 -04:00
2020-05-21 11:35:00 -04:00
2020-05-21 11:35:00 -04:00
2017-02-28 22:35:48 -05:00
2017-02-28 22:35:48 -05:00
2021-05-25 19:23:47 +02:00
2020-11-02 15:55:49 -05:00