[Checkins]
SVN: z3c.securitytool/trunk/src/z3c/securitytool/securitytool.py
Removed sorting of parent list,
display logic will only be found in views.py
Daniel Blackburn
blackburnd at gmail.com
Mon Feb 18 18:03:52 EST 2008
Log message for revision 84032:
Removed sorting of parent list, display logic will only be found in views.py
Changed:
U z3c.securitytool/trunk/src/z3c/securitytool/securitytool.py
-=-
Modified: z3c.securitytool/trunk/src/z3c/securitytool/securitytool.py
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/securitytool.py 2008-02-18 22:16:34 UTC (rev 84031)
+++ z3c.securitytool/trunk/src/z3c/securitytool/securitytool.py 2008-02-18 23:03:52 UTC (rev 84032)
@@ -292,7 +292,6 @@
# Each key is unique so we just get the list index to edit
# we keep it as a list so the order stays the same.
- parentList.reverse()
self.principalMatrix['roleTree'][place]\
[key]['parentList'] = \
parentList
@@ -374,7 +373,6 @@
# Each key is unique so we just get the list index to edit
# we keep it as a list so the order stays the same.
- parentList.reverse()
self.principalMatrix['permissionTree'][place]\
[key]['parentList'] = \
parentList
@@ -390,6 +388,7 @@
self.principalMatrix['permissionTree']\
[place][key]['permissions'].append(prinPerms)
+
def permissionDetails(self, principal_id, view_name, skin=IBrowserRequest):
"""Get permission details for a given principal and view.
Includes the permissions set by the groups the principal belongs to.
More information about the Checkins
mailing list