Add default roles and user

This commit is contained in:
2025-10-14 21:22:54 +09:00
parent 209cd79f01
commit 40b2a5f598
8 changed files with 159 additions and 12 deletions

View File

@ -2,5 +2,10 @@
namespace Hcs.WebApp.Data
{
public class AppRole : IdentityRole { }
public class AppRole : IdentityRole
{
public const string ADMINISTRATOR_TYPE = "Administrator";
public const string OPERATOR_TYPE = "Operator";
public const string OBSERVER_TYPE = "Observer";
}
}