Skip to content
Snippets Groups Projects
Unverified Commit b9876633 authored by Wes Appler's avatar Wes Appler Committed by GitHub
Browse files

Make `is_staff` true when a user is Staff Admin (#3841)


Fixes #3782.

Rather than having `is_staff` set to true when a user's
email is the org's domain, this sets it true when a user is Staff Admin
or a Superuser. Also includes a migration to handle existing cases where
Staff Admins are not `is_staff`.

Co-authored-by: default avatarSandeep Chauhan <sandeepsajan0@gmail.com>
Co-authored-by: default avatarSaurabh Kumar <theskumar@users.noreply.github.com>
parent 45d3a870
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment