﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32086	Misleading documentation on AccessMixin	Remy	nobody	"In this section of the documentation: https://docs.djangoproject.com/en/3.1/topics/auth/default/#redirecting-unauthorized-requests-in-class-based-views

We can read:

{{{
To ease the handling of access restrictions in class-based views, the AccessMixin can be used to configure the behavior of a view when access is denied. Authenticated users are denied access with an HTTP 403 Forbidden response. Anonymous users are redirected to the login page or shown an HTTP 403 Forbidden response, depending on the raise_exception attribute.
}}}
Which leads the reader to think that AccessMixin actually does something, e.g redirect anonymous users to the login page etc, when actually no, AccessMixin won't do any of that. It's just an abstract class that is overloaded by other mixins in order to achieve such behaviors.

I suggest we should clarify that. Maybe rewrite so that those are shown as example use cases, achievable after implementing some of the django mixins that subclass AccessMixin (e.g LoginRequiredMixin)."	Cleanup/optimization	closed	Documentation	3.1	Normal	wontfix			Unreviewed	0	0	0	0	0	0
