At Tuesday 9/1/2007 12:57, Garth B. wrote:
def all_meta_types(self):
return (
{
'name' : 'Web Page',
'action': 'manage_addProduct/DWT/WebPage_add',
'permission': 'Add Web Page',
},
)
Make sure you use *exactly* the same string to define permissions
everywhere; better use a global name.
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )