sandstorm icon indicating copy to clipboard operation
sandstorm copied to clipboard

WIP: make upgrading demo accounts available via a config option.

Open zenhack opened this issue 3 years ago • 3 comments

This fixes #3239 by providing a config option to re-enable the ability to upgrade demo accounts to full accounts, which was removed in order to allow alpha to act as the demo server when oasis was shut down.

Unfortunately, this seems to break other tests. The handful I examined resulted in permission errors trying to upload the test app; presumably when this is enabled our test accounts are somehow getting marked as not allowed to upload their own apps.


Accordingly, I'm marking this as a draft until that can be debugged.

zenhack avatar Apr 03 '22 21:04 zenhack

(Note that this includes the commits from #3609, since those are necessary for any of the tests to pass).

zenhack avatar Apr 03 '22 21:04 zenhack

Does ALLOW_UNINVITED permit users who sign in without an invite to create grains? I am not sure if the config option is self-explanatory enough. How does this interact with the permission to allow demo accounts, and what happens if one but not the other is set?

...Which is to say, I maybe might suggest a better config variable name, and definitely would like to see the docs updated in the PR.

ocdtrekkie avatar Apr 03 '22 21:04 ocdtrekkie

Yeah, I should definitely update the docs before this is merged, and I just copied the name from the meteor setting, so could probably be improved.

zenhack avatar Apr 03 '22 21:04 zenhack