aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema_0040-superuser_flag.sql
Commit message (Collapse)AuthorAgeLines
* Use normal user authentication to control access to /adminMatthew Somerville2016-07-19-0/+3
- Adds is_superuser flag to User - Logged-in user must be a superuser or have from_body set in order to access anything within /admin - has_permission_to on a superuser will always return true - Only superusers can create/grant superusers - New `createsuperuser` command for creating superusers