GUEST logon doesn't work
Opened this issue · 8 comments
Logging in as GUEST should work.
Fix:
- Remove "guest" from gfiles/trashcan.txt (need to do this so you can do the next step)
- Create a user named GUEST
Should this just be in the documentation instead?
That may be all that's needed, if so, let's start with documenting it.
ideally we should ask if the sysop wants a guest account and then auto-create it and maybe figure out how to do that while leaving it in trashcan.txt since we don't want it used for anything else.
What's the right user experience here?
in wwivconfig, the sysop account is created first. we could have an option to add a guest account in wwivconfig as well. trashcan is used in lilo.cpp and newuser.cpp on the bbs main, but wwivconfig bypasses that.
thinking ahead, if we have multiple nodes where GUEST logs in, what will happen? i haven't tested multiple logins with the same user on different nodes either.
Will need to test that, but when guest_user() is true, writes to the user record is disabled, and you can't post, so I'd suspect it'd be mostly ok. But still need to make sure.
Play around with it, let me know what you find
Guest is able to delete email as well as send email. The initial email in Guest's mailbox gets deleted.
I suppose this is determined by the GUEST account's SL/DSL. (I haven't really checked how guest is implemented in code.)
Since a lot of prospective users want to check out what DOORS are on a BBS, Guest should be able to access the CHAINS but not run them. Hmmm... I will read the chains code this week.
suggested mod to
bbs/chains.cpp void run_chain()
- add a GuestCheck
menus/menusupp.cpp void Chains()
- remove GuestCheck
Guest will be able to see what Doors are available.
tried this today. the problem is that the chains menu clears the screen right after a chain runs and finishes. the guest message that the feature is available only to registered users gets shown briefly before the screen gets cleared. hmm.