From fac14d2b00bfa30892f9c7ce9eefc9c355caf04a Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Sat, 22 Nov 2014 22:30:06 -0800 Subject: [PATCH] views: patch-list: show the 'Properties' update box for all users Any authenticated user should be able to change the properties of their own patches from the list view. They can already do so from the patch view and from pwclient. Now, authenticated users can perform 'Change state', 'Delegate to', and 'Archive' operations on multiple patches at a time (e.g., after 'select-all' on a bundle, or after selecting a few patches individually). We'll print an error message to the page for any patches which can't be updated (e.g., due to ownership). This fixes a usability issue that has been reported a few times. Signed-off-by: Brian Norris Acked-by: Stephen Finucane --- patchwork/views/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchwork/views/__init__.py b/patchwork/views/__init__.py index 8df8920c..ffae91a1 100644 --- a/patchwork/views/__init__.py +++ b/patchwork/views/__init__.py @@ -56,7 +56,7 @@ def generic_list(request, project, view, data = None user = request.user properties_form = None - if project.is_editable(user): + if user.is_authenticated(): # we only pass the post data to the MultiplePatchForm if that was # the actual form submitted -- 2.47.3