erkyrath / tworld

A choice-based shared online text environment sandbox
MIT License
72 stars 13 forks source link

Better guest reset plan #157

Closed erkyrath closed 9 years ago

erkyrath commented 10 years ago

When a guest logs in for the first time, its desc and pronoun are reset; also all instance properties for its personal start world. But really we want all of the guest's data to be reset. If they visit a world, it should be pristine.

(The code is in create_session_guest(), tweblib/session.py.)

erkyrath commented 10 years ago

This should work the same way as the general instance-reset mechanism: https://github.com/erkyrath/tworld/issues/158

erkyrath commented 10 years ago

Also reset the guest's preferences.

erkyrath commented 9 years ago

If a guest instance has inhabitants, boot them. May have to force instance asleep first.

erkyrath commented 9 years ago

Repeating details from https://github.com/erkyrath/tworld/issues/158:

We don't touch the guest's scope, nor any scopeaccess entries. (If the guest was invited to a group scope, they'll keep that access. Guests should not be allowed to create group scopes.)

Then:

erkyrath commented 9 years ago

Done! Whew. To celebrate, I've removed the guest restriction on Salvanas.