mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
09dbe44bca
* Onboarding: Invite new users - Separates the user self-registration and invite cases - Adds invitation email for users created by the admin - Adds invitation tokens to verify user was invited - Adds handler action for invite links - Refactors `UserEventHostedService` - Fixes #5726. * Add permissioned form tag helper * Better way of changing a user's role * Test fixes
18 lines
589 B
C#
18 lines
589 B
C#
|
|
using System;
|
|
|
|
namespace BTCPayServer
|
|
{
|
|
public class StoreRoles
|
|
{
|
|
[Obsolete("You should check authorization policies instead of roles")]
|
|
public const string Owner = "Owner";
|
|
[Obsolete("You should check authorization policies instead of roles")]
|
|
public const string Manager = "Manager";
|
|
[Obsolete("You should check authorization policies instead of roles")]
|
|
public const string Employee = "Employee";
|
|
[Obsolete("You should check authorization policies instead of roles")]
|
|
public const string Guest = "Guest";
|
|
}
|
|
}
|