From a7fb311aced5469dbf2588d860579be87b67e3d9 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 5 Aug 2015 17:13:45 -0400 Subject: [PATCH] [1.8.x] Fixed #25229 -- Clarified how an iterable works with @permission_required Backport of 16a8d01308f8ca4a7b4673424059424ba3fe36c8 from master --- docs/topics/auth/default.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 3699554e29..0ff763e064 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -595,7 +595,8 @@ The permission_required decorator .. versionchanged:: 1.7 The :func:`~django.contrib.auth.decorators.permission_required` - decorator can take a list of permissions as well as a single permission. + decorator can take a list of permissions, in which case the user must + have all of the permissions in order to access the view. .. _applying-permissions-to-generic-views: