File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1212- enabled disabling of REMOTE_USER for when it's not a valid username (sf
1313 bug 1190187)
1414- fix invocation of hasPermission from templating code (sf bug 1224172)
15+ - have 'roundup-admin security' display property restrictions (sf bug
16+ 1222135)
1517
1618
17192005-05-02 0.8.3
Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: admin.py,v 1.85.2.7 2005-05-06 06:53:00 a1s Exp $
19+ # $Id: admin.py,v 1.85.2.8 2005-06-24 05:34:15 richard Exp $
2020
2121'''Administration commands for maintaining Roundup trackers.
2222'''
@@ -1246,11 +1246,16 @@ def do_security(self, args):
12461246 for rolename , role in roles :
12471247 print _ ('Role "%(name)s":' )% role .__dict__
12481248 for permission in role .permissions :
1249+ d = permission .__dict__
12491250 if permission .klass :
1250- print _ (' %(description)s (%(name)s for "%(klass)s" '
1251- 'only)' )% permission .__dict__
1251+ if permission .properties :
1252+ print _ (' %(description)s (%(name)s for "%(klass)s"'
1253+ ': %(properties)s only)' )% d
1254+ else :
1255+ print _ (' %(description)s (%(name)s for "%(klass)s" '
1256+ 'only)' )% d
12521257 else :
1253- print _ (' %(description)s (%(name)s)' )% permission . __dict__
1258+ print _ (' %(description)s (%(name)s)' )% d
12541259 return 0
12551260
12561261 def run_command (self , args ):
You can’t perform that action at this time.
0 commit comments