Roundup Tracker - Issues

Issue 2550699

classification
'permission' kwd for HTMLRequest.batch (with patch)
Type: behavior Severity: minor
Components: Web interface Versions:
process
Status: closed fixed
:
: schlatterbeck : elic, schlatterbeck
Priority: : patch

Created on 2011-04-15 15:52 by elic, last changed 2011-07-15 14:15 by schlatterbeck.

Files
File name Uploaded Description Edit Remove
batch_permission.patch elic, 2011-04-15 15:52 add permission kwd to HTMLRequest.batch
Messages
msg4296 Author: [hidden] (elic) Date: 2011-04-15 15:52
This is a small patch which adds a "permission" keyword to 
HTMLRequest.batch. 

This allows templates to use batch() to filter based on other permissions 
besides "View". I had need of this in my own tracker since I wanted to 
render a list of issues based on a separate "Search" permission, instead 
of whether they had "View" permission for the issue.  

The default value is identical to the current behavior, so this patch 
should not affect anyone who doesn't make use of the keyword.
msg4346 Author: [hidden] (schlatterbeck) Date: 2011-07-15 14:15
Nice. Applied in r4636, thanks.
History
Date User Action Args
2011-07-15 14:15:26schlatterbecksetstatus: new -> closed
assignee: schlatterbeck
resolution: fixed
messages: + msg4346
nosy: + schlatterbeck
2011-04-15 15:52:32eliccreate