#33269: Raise an error if a string is passed into has_perms() instead of a list
-------------------------------------+-------------------------------------
Reporter: lieryan | Owner: lieryan
Type: | Status: closed
Cleanup/optimization |
Component: contrib.auth | Version: 3.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"05cde4764da022ae80e9d7d97ef67c30e896c607" 05cde47]:
{{{
#!CommitTicketReference repository=""
revision="05cde4764da022ae80e9d7d97ef67c30e896c607"
Fixed #33269 -- Made AnonymousUser/PermissionsMixin.has_perms() raise
ValueError on string or non-iterable perm_list.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33269#comment:7>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.ece2fb960f23780ce40d0f978eab82db%40djangoproject.com.