This commit is contained in:
2021-07-13 21:01:40 +00:00
parent 4926bdbc0a
commit 9a9d25d9c0
3 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ namespace AyaNova.Biz
u.Salt = Hasher.GenerateSalt();
u.Login = "superuser";
u.Password = Hasher.hash(u.Salt, "l3tm3in");
u.Roles = AuthorizationRoles.All;
u.Roles = AuthorizationRoles.Accounting | AuthorizationRoles.BizAdmin | AuthorizationRoles.Inventory | AuthorizationRoles.OpsAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Service ;
u.UserType = UserType.NotService;