Is there a way to set zope permissions for files that are linked to zope with file system directory view. For example, i have a
zope python script which must only be executed by users that have
manager role. In order to do this i think i have 2 alternatives:
1- I can control the permission in the zope python script script
user = getAuthenticatedUser()
if(user has manager role):
....
else:
go to login
2- I can put a special file like .metadata file and set the python script zope permissions. (I don't know how can i do this)
Thanks,
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )