-----BEGIN PGP SIGNED MESSAGE-----
Jacob Holm wrote:
> Hi Michael, Tres
> I agree a new major version is required due to the new "feature" of
> having new permission names, but there is no reason to break
> compatibility with code using the old names.
> IIRC the <redefinePermission/> zcml-directive is there exactly to
> provide backwards compatibility when renaming permissions. Use like:
> from = "<no longer defined permisison id>"
> to = "<existing permission id>"
> It is defined in zope.security:meta.zcml along with the <permission/>
> directive, so should be usable with any code that uses that.
Thanks for pointing out that directive, whose existence I had forgotten.
Assuming we put the 'redefinePermssion' directives in place on the
trunk, why shouldn't we leave the version number as is? I consider the
rename a bugfix, not a feature, and if we make it backwared compatible,
there is no reason to bump the major version.
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -