Merge "Make the first user a superuser"
This commit is contained in:
@@ -455,21 +455,9 @@ on the :doc:`../webapi/v1` page.
|
||||
The webclient server also forwards ``/api`` to the API server, so it is also
|
||||
possible to use the API by sending requests to http://localhost:9000/api/.
|
||||
|
||||
|
||||
Make user an admin - current bug
|
||||
================================
|
||||
|
||||
Once logged into the webclient, this user needs to be set to admin
|
||||
manually due to a current bug in Storyboard.
|
||||
|
||||
1. Ensure that you have logged into your Storyboard instance at least once so
|
||||
that your user details are stored in the database.
|
||||
|
||||
2. Run mysql and change your user to superadmin::
|
||||
|
||||
mysql -u root -p
|
||||
use storyboard;
|
||||
update users set is_superuser=1;
|
||||
The first user who logs in to the StoryBoard instance will be made a
|
||||
superuser with full admin privileges, to allow easy configuration of the
|
||||
development instance.
|
||||
|
||||
|
||||
Optional steps: Seed database with base data
|
||||
|
||||
Reference in New Issue
Block a user