15 Sep
2003
15 Sep
'03
3:02 p.m.
I'm looking for a documentation explaining the localRoles API in Plone. What is the module which manage localRoles? Is it inside CMFCore or CMFDefault, or Plone...
from AccessControl.Role import manage_setLocalRoles manage_setLocalRoles(obj, user_id, ['Owner']) As far as I know the access control code API isn't documented anywhere, you have to look at the source. Andrew -- Logical Progression Ltd, 20 Forth Street, Edinburgh EH1 3LH, UK Tel: +44 (0)131 550 3733 Web: http://www.logicalprogression.net/