Restrict superuser, eval mode offer bizadmin once it exists so evaluators can see all the things now restricted to superuser

This commit is contained in:
2022-08-24 18:44:25 +00:00
parent 5c2e5138e4
commit 5f4f090a9f
2 changed files with 4 additions and 1 deletions

View File

@@ -40,6 +40,9 @@ todo: IMPORTANT! rockfish not putting time limit on subscription keys, UI needs
todo: restrict superuser account in some critical ways so it can't be used for day to day work, maybe no dashboard etc
nothing too serious that it breaks existing code but remove any features that it shouldn't be used for
Find a subtle way to do this particularly for subscription users
Maybe the way to do this is to remove any areas from initialize that are not the concern of the superuser so all of service, accounting, dashboard other than memos etc
Stuff that's of concern to superuser allow but any business related stuff hide / remove from init.
TODO: make a bizadmin user the default user account to login for trial evaluation so they can see all the things now that they are removed from superuser
todo: active users in terms of license data should not show in log only on boot but also in the about page (not license because it would confuse people) since it's relevant and we need to know it right away

View File

@@ -1754,7 +1754,7 @@ namespace AyaNova.Util
{
User u = new User();
u.Active = active;
u.AllowLogin=true;
do
{
u.Name = Fake.Name.FullName();