modify require_privilege to also check the user’s privileges and raise Http404 when no matches can be found
modify require_privilege to also check the user’s privileges and raise Http404 when no matches can be found

chillbear/django-prbac