I want to check user permissions and then give him access! how can i add middleware to django-revproxy