Changeset 806

Show
Ignore:
Timestamp:
02/26/07 10:49:58
Author:
crchemist
Message:

Add role 'Editor' to portal.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneEditorGroup/trunk/Extensions/Install.py

    r805 r806  
    1111    acl = self.acl_users 
    1212    if acl.meta_type != 'Pluggable Auth Service': 
     13        try: 
     14            portal._addRole('Editor') 
     15        except KeyError: 
     16            pass 
    1317        acl.changeOrCreateGroups(roles = ['Editor'], new_groups=['Editors']) 
    1418    else: