[Zope-CMF] CMF 1.4 Roadmap

Chris Withers chrisw@nipltd.com
Tue, 21 Jan 2003 16:48:17 +0000


Tres Seaver wrote:
> I think that, rather than adding another file, we should change the
> format of the 'foo.security' file to allow spelling both role-permission
> settings and proxy roles.  The current format is like so:
> 
>   <permission_name>:<acquire_flag>:<role_list>
> 
> I would prefer a format more like:
> 
>   [Permissions]
>   <permission_name>:acquire=<acquire_flag>,roles=<role_list>
>   ...
> 
>   [ProxyRoles]
>   <role_name>:yes

Is there a way to change the format to this without breaking backwards 
compatability?

> Code to interpret this file would go in the (currently non-existent)
> CMFCore/FSSecurity.py

Why? Where it lives right now seems to make most sense.
The code which adds properties to objects from the .properties
(or is that .props?) files doesn't live in FSProperties.py...

cheers,

Chris