Hi, 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... Thanks. Patrick Gelin _____ Chef de projet du portail RPN Office de la Statistique et de l'Informatique Scolaire (OSIS) CH-2300 La Chaux-de-Fonds Telephone: +41 (0)32 919 79 13 Email: patrick.gelin@rpn.ch
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/
participants (2)
-
Andrew Veitch -
Gelin Patrick