@staff_member_required redirects to admin login
cdcarter opened this issue · 2 comments
cdcarter commented
the @staff_member_required decorator we use on many of our views redirects to the DJ admin login page instead of social auth.
davisagli commented
Since we switched from this decorator to permission checks, now users get a bare 403 Forbidden which is also not ideal. What we probably want is a prompt to start oauth that will end up returning to the url they were trying to access.