Non funziona. Ecco il risultato:
Unauthorized: Unauthorized() (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: You are not allowed to access 'getGroupsByUserId' in this context)
Il 2/1/2016 4:36 PM, Yuri ha scritto:
python:'<group_id>' in portal.portal_groups.getGroupsByUserId(portal.portal_membership.getAuthenticatedMember().getId())
-- Massimiliano Magli Istituto di Biometeorologia - CNR Via P.Gobetti, 101 I-40129 Bologna, Italy Tel. +39 0516399013 Fax +39 0516399024 E-mail: mailto:[email protected] PEC: [email protected] http://www.bo.ibimet.cnr.it http://www.gustosalutequalita.it/it http://www.olimonovarietali.it _______________________________________________ Plone-IT mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-plone-it http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
