[Zope3-dev] Grant permissions to roles seems strange

Jim Fulton jim at zope.com
Mon Oct 18 10:18:27 EDT 2004


This sounds like a bug.  Please report it in the collector:

http://collector.zope.org/Zope3-dev

Jim

Peter Mayne wrote:
> I've been playing with permissions, and the web page seems to be acting 
> strangely.
> 
> I'm using ZopeX3-3.0.0c2.win32. To reproduce (logged on as admin, of 
> course):
> 
> Create a new Z3 instance.
> Browse to [top] -> Grant -> Grant permissions to roles
> Set role Everybody, permission View to "-" and save changes.
> Restart Z3.
> Check Everybody/View: it should be "-".
> Set Everybody/View to "+" and save changes.
> Restart Z3.
> Check Everybody/View: it is still "-" instead of "+".
> 
> This seems to happen for all of the Everybody permissions. It means that 
> every time I restart Z3, I have to manually change this so anonymous 
> users can use my application. The permission holds until I restart.
> 
> Other strange things happen as well. For instance, if I set all roles 
> for "Use Database Connections" to "+" and restart, they go back to " ".
> 
> Do I have a fundamental misunderstanding of what's going on, or is there 
> something weird here?
> 
> Thanks.
> 
> PJDM


-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list