in uno script pensavo di inserire una condizione per riconoscere se l'utente รจ autenticato o meno.
   if (not context.portal_membership.isAnonymousUser()):

ma eseguendo lo script, appare un errore:

An error was encountered while publishing this resource.

*Error Type: AttributeError*
*Error Value: portal_membership*

come potrei riconoscere l'utente anonimo?

Grazie, Giacomo

_______________________________________________
Plone-IT mailing list
Plone-IT@lists.plone.org
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a