Package CMFSetup :: Module rolemap :: Class RolemapConfigurator
[show private | hide private]
[frames | no frames]

Type RolemapConfigurator

    object --+                
             |                
          Base --+            
                 |            
          Acquirer --+        
                     |        
ExportConfiguratorBase --+    
                         |    
    object --+           |    
             |           |    
          Base --+       |    
                 |       |    
          Acquirer --+   |    
                     |   |    
ImportConfiguratorBase --+    
                         |    
          ConfiguratorBase --+
                             |
                            RolemapConfigurator


Synthesize XML description of sitewide role-permission settings.
Method Summary
  listPermissions(self)
List permissions for export.
  listRoles(self)
List the valid role IDs for our site.
    Inherited from ConfiguratorBase
  __init__(self, site, encoding)
    Inherited from ImportConfiguratorBase
  initObject(self, parent, o_info)
  initProperty(self, obj, p_info)
  parseXML(self, xml)
Pseudo API.
    Inherited from ExportConfiguratorBase
  generateObjectNodes(self, obj_infos)
Pseudo API.
  generatePropertyNodes(self, prop_infos)
Pseudo API.
  generateXML(self, **kw)
Pseudo API.
    Inherited from Base
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __getnewargs__(...)
Get arguments to be passed to __new__
  __getstate__(...)
Get the object serialization state
  __reduce__(...)
Reduce an object to contituent parts for serialization
  __setstate__(...)
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
tuple __ac_permissions__ = (('Manage portal', ('listRoles', 'l...
PermissionRole listPermissions__roles__ = <PermissionRole object at 0xb...
PermissionRole listRoles__roles__ = <PermissionRole object at 0xb485244...
    Inherited from ConfiguratorBase
int __allow_access_to_unprotected_subobjects__ = 1                                                                     
    Inherited from ImportConfiguratorBase
PermissionRole initObject__roles__ = <PermissionRole object at 0xb58e67...
PermissionRole initProperty__roles__ = <PermissionRole object at 0xb58e...
PermissionRole parseXML__roles__ = <PermissionRole object at 0xb58e6758...
    Inherited from ExportConfiguratorBase
PermissionRole generateObjectNodes__roles__ = <PermissionRole object at...
PermissionRole generatePropertyNodes__roles__ = <PermissionRole object ...
PermissionRole generateXML__roles__ = <PermissionRole object at 0xb58e6...

Method Details

listPermissions(self)

List permissions for export.

o Returns a sqeuence of mappings describing locally-modified
  permission / role settings.  Keys include:

  'permission' -- the name of the permission

  'acquire' -- a flag indicating whether to acquire roles from the
      site's container

  'roles' -- the list of roles which have the permission.

o Do not include permissions which both acquire and which define
  no local changes to the acquired policy.

listRoles(self)

List the valid role IDs for our site.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Manage portal', ('listRoles', 'listPermissions')),)                 

listPermissions__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb4852440>                                  

listRoles__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb4852440>                                  

Generated by Epydoc 2.1 on Wed Nov 30 03:59:45 2005 http://epydoc.sf.net