[Zope-dev] Weird proxy role behaviour

2005-07-04 Thread Andreas Jung
Hi, I created a PyScript through the ZMI: from AccessControl import getSecurityManager() print getSecurityManager().getUser().getRoles() print getSecurityManager().getUser().getRolesInContext(context) return printed The script has the proxy role 'Manager'. When I call the script as Anyonmous

Re: [Zope-dev] Weird proxy role behaviour

2005-07-04 Thread Florent Guillaume
Andreas Jung [EMAIL PROTECTED] wrote: I created a PyScript through the ZMI: from AccessControl import getSecurityManager() print getSecurityManager().getUser().getRoles() print getSecurityManager().getUser().getRolesInContext(context) return printed The script has the proxy role