#29031: @permission_required decorator not Working
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  somedayiamold                      |
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:             |        Version:  2.0
  contrib.auth                       |       Keywords:  permission_required
               Severity:  Normal     |  decorator
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 User does not have the delete permission but can delete record by ajax
 delete request with method 'POST', and the requested function in view has
 @permission_required decorator required permission of deletion, however it
 seems does not work any more. The permission_required returns False by
 debugging the if user has delete permission but it is not working.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29031>
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/056.748c3e7967d40663f31f9e00ada96b07%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to