[Zope-dev] manage_permission from script

zope at netchan.cotse.net zope at netchan.cotse.net
Wed Apr 7 19:30:31 EDT 2004


> For setting permission on the root application object, use
> setPermissionDefault of SecurityInfo.

Eh, this only works for my own defined permissions. However I just tried
this from my product and it does what it supposed to do:
	
self.getPhysicalRoot().manage_permission('View', ['Owner'])

Sandor




More information about the Zope-Dev mailing list