Skip to content
This repository was archived by the owner on Oct 7, 2023. It is now read-only.

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 user level role
    • No administrative privileges
  • Admin Role (admin)
    • Must be assigned admin role by a Super User
    • Can only edit / create / delete the following objects:
      • Issue
      • Title
      • Publisher
  • 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

Creating a Super User from the command line

  1. Make sure roles have been created
    • python manage.py create_roles
  2. Create a user account
    • Through web interface OR
    • With Flask-Script: python manage.py create_user
  3. Confirm your email address
  4. Give yourself Super User privileges.
    • python manage.py add_super_role
  5. Navigate to localhost:3000/admin
    • You should now have super user administrative privileges

Clone this wiki locally