btcpayserver/BTCPayServer.Data
d11n 6290b0f3bf
Admins can approve registered users (#5647)
* Users list: Cleanups

* Policies: Flip registration settings

* Policies: Add RequireUserApproval setting

* Add approval to user

* Require approval on login and for API key

* API handling

* AccountController cleanups

* Test fix

* Apply suggestions from code review

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* Add missing imports

* Communicate login requirements to user on account creation

* Add login requirements to basic auth handler

* Cleanups and test fix

* Encapsulate approval logic in user service and log approval changes

* Send follow up "Account approved" email

Closes #5656.

* Add notification for admins

* Fix creating a user via the admin view

* Update list: Unify flags into status column, add approve action

* Adjust "Resend email" wording

* Incorporate feedback from code review

* Remove duplicate test server policy reset

---------

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2024-01-31 14:45:54 +09:00
..
Data Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Migrations Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
ApplicationDbContext.cs Fix: Update of inventory could override app settings being updated (#5565) 2023-12-19 20:53:11 +09:00
ApplicationDbContextFactory.cs Add reporting feature (#5155) 2023-07-24 09:24:32 +09:00
BTCPayServer.Data.csproj Bump libraries 2024-01-17 22:11:30 +09:00
MigrationsExtensions.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00