[Zope3-dev] Rename permission_id attribute to permission

Jim Fulton jim@zope.com
Thu, 30 May 2002 17:04:24 -0400


A number of the folks at PythonLabs suggest changing:

  <security:permission
    permission_id="ZopeProducts.Contact.ManageContacts" 
    title="Manage Contacts" />

  <class class=".Contact.">
    <zmi:factory
      permission_id="ZopeProducts.Contact.ManageContacts"
      title="Personal Contact Information" />
  </class>

to:

  <security:permission
    id="ZopeProducts.Contact.ManageContacts" 
    title="Manage Contacts" />

  <class class=".Contact.">
    <zmi:factory
      permission="ZopeProducts.Contact.ManageContacts"
      title="Personal Contact Information" />
  </class>

where, obviously, all references to permissions use "permission", 
rather than "permission_id".

If there are no objectives to this, I'll make this change.

Jim

--
Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org