[z3-five] Re: Security and Five

Martijn Faassen faassen at infrae.com
Mon Jun 21 18:42:40 MEST 2004


Sidnei da Silva wrote:

> 
> | I'd also like to look into the (mis)use of the 'title' attribute to 
> | define the Zope 2 permission name. Do we want to continue this or come 
> | up with our own attribute itself? If so, what will happen to title?
> 
> Well... I didn't thought about it as a misuse. It is really the title
> of the permission. Maybe you are referring to the use of title as the
> permission name? I don't have a good solution for that yet.
> 

I'm not sure it is a misuse either, it's just a point that we can 
speculate on. 'title' in Zope 3 has no semantic value, it's something 
that can be i18n-ed, etc. 'title' in Five suddenly gains a definite 
meaning. Perhaps we need a five:definePermission which besides title 
also has an attribute for the zope 2 permission.

Regards,

Martijn



More information about the z3-five mailing list