[Zope] About LocalRoles...

Andrew Veitch andrew at logicalprogression.net
Mon Sep 15 11:02:12 EDT 2003


> 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/




More information about the Zope mailing list