Skip to content

Implement middleware for admin views

Sunil Mohan Adapa requested to merge lispyclouds:master into master

Created by: lispyclouds

This is in reference to the bug #426 (closed)

This adds the middleware needed to intercept requests to admin areas and treats all non public views as admin unless decorated as "non admin"

  • Add AdminMiddleware to deny non admin users
  • Add decorator to mark views as "non admin"

Merge request reports

Loading