[Zope] all_meta_types confusion

Gabriel Genellina gagsl-zope at yahoo.com.ar
Tue Jan 9 17:35:00 EST 2007


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 



More information about the Zope mailing list