On Fri, 05 Mar 2010 at 07:25PM -0800, Kwankyu wrote:
> The following is an excerpt from the docstring of notebook() about how
> to add a new user:
>
> accounts – boolean (default: False) if True, any visitor to the
> website will be able to create a new account. If False, only the admin
> can create accounts (currently, this can only be done by running with
> accounts=True and shutting down the server properly (SIG_INT or
> SIG_TERM), or on the command line with, e.g.,
>
> from sagenb.notebook.notebook import load_notebook
> nb = load_notebook(dir)
> nb.set_accounts(True)
> nb.add_user("username", "password", "em...@place", "user")
> nb.save()Actually, it's even more wrong than you think -- the admin user can now add regular users from the notebook. Log in as admin, then click on Settings -> Manage Users -> Add User. The text above should definitely be updated. Thanks for pointing this out. This is now http://trac.sagemath.org/sage_trac/ticket/8454. Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature
