This repository was archived by the owner on Oct 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Administration
Timothy Bueno edited this page Oct 1, 2013
·
4 revisions
Longboxed has a browser administration system. There are currently three levels of users that Longboxed knows about: user, admin, super.
- User Role (
user)- Everyone with an account has the
userlevel role - No administrative privileges
- Everyone with an account has the
- Admin Role (
admin)- Must be assigned
adminrole by a Super User - Can only edit / create / delete the following objects:
- Issue
- Title
- Publisher
- Must be assigned
- Super Role (
super)- Can only be assigned from someone who has access to the command line (or another Super User)
- Can edit / create / delete the following objects:
- Issue
- Title
- Publisher
- User
- Role
- Make sure roles have been created
python manage.py create_roles
- Create a user account
- Through web interface OR
- With Flask-Script:
python manage.py create_user
- Confirm your email address
- Give yourself Super User privileges.
python manage.py add_super_role
- Navigate to localhost:3000/admin
- You should now have super user administrative privileges