[Zope] RE: What method do I use to check access?

Jay, Dylan djay@lucent.com
Thu, 27 May 1999 10:13:04 +1000


The problem with your solution is that it doesn't take into account aquired
permissions.

>for i in AUTHENTICATED_USER.getRoles():
>	if i in SomeObject._View_Permission.getRoles():
>		return 1
>return 0