#25169: permission_required decorator should only redirect to 403 if user is 
logged
in
-------------------------------+--------------------------------------
     Reporter:  aithusa        |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Uncategorized  |                  Version:  1.8
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by timgraham):

 That makes some sense, however, backwards compatibility could be an issue.
 What about stacking `@login_required` before `@permission_required` if you
 need this behavior?

--
Ticket URL: <https://code.djangoproject.com/ticket/25169#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.f5776cfaae3687709a24ded9a97e6327%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to