I'm using this project but when I authenticate to the CAS server and then try to open django-admin (127.0.0.1:8000/admin) it throws 403 error:
Forbidden (Permission denied): /admin/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 106, in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/lib/python3.6/dist-packages/django_cas_ng/middleware.py", line 60, in process_view
raise PermissionDenied(_('You do not have staff privileges.'))
django.core.exceptions.PermissionDenied: You do not have staff privileges.
[26/Jul/2020 14:14:26] "GET /admin/ HTTP/1.1" 403 22
I'm using this project but when I authenticate to the CAS server and then try to open django-admin (127.0.0.1:8000/admin) it throws 403 error:
Versions: