theCodingInterface

Providing quality software engineering content in the form of tutorials, applications, services, and commentary suited for developers.

Django Authentication Part 2: Object Permissions with Django Guardian

This is the second article in a multipart series on implementing the Django authentication system. This second article focusses on how to assign object level permissions to users and groups of users using the Django Guardian package. These permissions will be used to control who can view and take a survey as well as who can view survey results by restricting access to class views to only users meeting these specific object level permissions.

Django Authentication Part 1: Sign Up, Login, Logout

This is the first article in a multipart series on implementing the Django authentication system. Each article of this series focuses on a subset of the authentication features that can be implemented with Django with this first one demonstrating how to register users, log them in and out, plus how to restrict access to class based views to only authenticated users.

Navigation

theCodingInterface