[Checkins]
SVN: z3c.securitytool/trunk/src/z3c/securitytool/README.txt
Updated doctests to handle new roleContext
Daniel Blackburn
blackburnd at gmail.com
Fri Feb 15 16:50:04 EST 2008
Log message for revision 83876:
Updated doctests to handle new roleContext
Changed:
U z3c.securitytool/trunk/src/z3c/securitytool/README.txt
-=-
Modified: z3c.securitytool/trunk/src/z3c/securitytool/README.txt
===================================================================
--- z3c.securitytool/trunk/src/z3c/securitytool/README.txt 2008-02-15 21:49:37 UTC (rev 83875)
+++ z3c.securitytool/trunk/src/z3c/securitytool/README.txt 2008-02-15 21:50:03 UTC (rev 83876)
@@ -391,8 +391,10 @@
>>> pprint(first.principalPermissions('daniel') )
{'groups': {},
'permissions': [],
- 'roleContext': {'Root Folder': [{'role': 'concord.Janitor',
- 'setting': 'Allow'}]},
+ 'roleContext': [{'Root Folder': {'name': 'Root Folder',
+ 'parentList': ['Root Folder'],
+ 'roles': [{'role': 'concord.Janitor',
+ 'setting': 'Allow'}]}}],
'roles': {'concord.Janitor': [{'permission': 'concord.ReadIssue',
'setting': 'Allow'}]}}
More information about the Checkins
mailing list