Trees | Index | Help |
|
---|
Package AccessControl :: Module Role :: Class RoleManager |
|
object
--+ |Base
--+ |RoleManager
--+ | RoleManager
Folder
,
PrimaryPathManager
,
PrimaryPathManager
,
SimpleItem
Method Summary | |
---|---|
ac_inherited_permissions(self,
all)
| |
Return debug info. | |
Used by management screen. | |
get_local_roles(self)
| |
get_local_roles_for_userid(self,
userid)
| |
get_valid_userids(self)
| |
has_local_roles(self)
| |
Return an interface for making permissions settings. | |
Called by management screen. | |
manage_editRoles(self,
REQUEST,
acl_type,
acl_roles)
| |
Change the permissions given to the given role. | |
Return user-role permission settings. | |
Used by management screen. | |
possible_permissions(self)
| |
Used by management screen. | |
Return list of user-defined roles. | |
users_with_local_role(self,
role)
| |
Return list of valid roles. | |
Return true if all given roles are valid. | |
Return list of valid roles. | |
None | |
None | |
_has_user_defined_role(self,
role)
| |
_setRoles(self,
acl_type,
acl_roles)
| |
Change the permissions that acquire. | |
Set local roles for a user. | |
Change all permissions settings, called by management screen. | |
Remove all local roles for a user. | |
Change the settings for the given permission. | |
Set local roles for a user. | |
Inherited from RoleManager :
manage_getPermissionMapping ,
_isBeingAccessedAsZClassDefinedInstanceMethod ,
_isBeingUsedAsAMethod ,
manage_setPermissionMapping
Inherited from Base :
__getattribute__ ,
__getnewargs__ ,
__getstate__ ,
__new__ ,
__reduce__ ,
__setstate__
Inherited from object :
__init__ ,
__delattr__ ,
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Class Variable Summary | |
---|---|
NoneType |
__ac_local_roles__ = None |
tuple |
__ac_permissions__ = (('Change permissions', ('manage_ac...
|
tuple |
__ac_roles__ = ('Manager', 'Owner', 'Anonymous', 'Authen...
|
Implements |
__implemented__ = <implementedBy AccessControl.Role.Role...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
PermissionRole |
ac_inherited_permissions__roles__ = <PermissionRole obje...
|
tuple |
access_debug_info__roles__ = ()
|
str |
aclAChecked = ''
|
str |
aclEChecked = ''
|
str |
aclPChecked = ''
|
PermissionRole |
acquiredRolesAreUsedBy__roles__ = <PermissionRole object...
|
PermissionRole |
manage_access__roles__ = <PermissionRole object at 0xfbf...
|
DTMLFile |
manage_acquiredForm = <App.special_dtml.DTMLFile object ...
|
PermissionRole |
manage_acquiredForm__roles__ = <PermissionRole object at...
|
PermissionRole |
manage_acquiredPermissions__roles__ = <PermissionRole ob...
|
PermissionRole |
manage_addLocalRoles__roles__ = <PermissionRole object a...
|
PermissionRole |
manage_changePermissions__roles__ = <PermissionRole obje...
|
PermissionRole |
manage_defined_roles__roles__ = <PermissionRole object a...
|
PermissionRole |
manage_delLocalRoles__roles__ = <PermissionRole object a...
|
DTMLFile |
manage_editLocalRoles = <App.special_dtml.DTMLFile objec...
|
PermissionRole |
manage_editLocalRoles__roles__ = <PermissionRole object ...
|
tuple |
manage_editRoles__roles__ = ('Manager',)
|
DTMLFile |
manage_listLocalRoles = <App.special_dtml.DTMLFile objec...
|
PermissionRole |
manage_listLocalRoles__roles__ = <PermissionRole object ...
|
tuple |
manage_options = ({'action': 'manage_access', 'filter': ...
|
PermissionRole |
manage_permission__roles__ = <PermissionRole object at 0...
|
DTMLFile |
manage_permissionForm = <App.special_dtml.DTMLFile objec...
|
PermissionRole |
manage_permissionForm__roles__ = <PermissionRole object ...
|
PermissionRole |
manage_role__roles__ = <PermissionRole object at 0xfbf0>
|
DTMLFile |
manage_roleForm = <App.special_dtml.DTMLFile object at 0...
|
PermissionRole |
manage_roleForm__roles__ = <PermissionRole object at 0xf...
|
PermissionRole |
manage_setLocalRoles__roles__ = <PermissionRole object a...
|
PermissionRole |
permission_settings__roles__ = <PermissionRole object at...
|
str |
permissionMappingPossibleValues = '<Special Object Used ...
|
PermissionRole |
permissionsOfRole__roles__ = <PermissionRole object at 0...
|
PermissionRole |
rolesOfPermission__roles__ = <PermissionRole object at 0...
|
str |
selectedRoles = ''
|
str |
smallRolesWidget = ''
|
PermissionRole |
userdefined_roles__roles__ = <PermissionRole object at 0...
|
DTMLFile |
_method_manage_access = <App.special_dtml.DTMLFile objec...
|
DTMLFile |
_normal_manage_access = <App.special_dtml.DTMLFile objec...
|
Inherited from RoleManager :
__providedBy__ ,
manage_getPermissionMapping__roles__ ,
manage_setPermissionMapping__roles__
|
Method Details |
---|
access_debug_info(self)Return debug info. |
acquiredRolesAreUsedBy(self, permission)Used by management screen. |
manage_access(self, REQUEST, **kw)Return an interface for making permissions settings. |
manage_defined_roles(self, submit=None, REQUEST=None)Called by management screen. |
manage_role(self, role_to_manage, permissions=[], REQUEST=None)Change the permissions given to the given role. |
permission_settings(self, permission=None)Return user-role permission settings. If 'permission' is passed to the method then only the settings for 'permission' is returned. |
permissionsOfRole(self, role)Used by management screen. |
rolesOfPermission(self, permission)Used by management screen. |
userdefined_roles(self)Return list of user-defined roles. |
valid_roles(self)Return list of valid roles. |
validate_roles(self, roles)Return true if all given roles are valid. |
validRoles(self)Return list of valid roles. |
_addRole(self, role, REQUEST=None)None |
_delRoles(self, roles, REQUEST=None)None |
manage_acquiredPermissions(self, permissions=None, REQUEST=None)Change the permissions that acquire. |
manage_addLocalRoles(self, userid, roles, REQUEST=None)Set local roles for a user. |
manage_changePermissions(self, REQUEST)Change all permissions settings, called by management screen. |
manage_delLocalRoles(self, userids, REQUEST=None)Remove all local roles for a user. |
manage_permission(self, permission_to_manage, roles=None, acquire=None, REQUEST=None)Change the settings for the given permission. If optional arg acquire is true, then the roles for the permission are acquired, in addition to the ones specified, otherwise the permissions are restricted to only the designated roles. |
manage_setLocalRoles(self, userid, roles, REQUEST=None)Set local roles for a user. |
Class Variable Details |
---|
__ac_local_roles__
|
__ac_roles__
|
__implemented__
|
__provides__
|
ac_inherited_permissions__roles__
|
access_debug_info__roles__
|
aclAChecked
|
aclEChecked
|
aclPChecked
|
acquiredRolesAreUsedBy__roles__
|
manage_access__roles__
|
manage_acquiredForm
|
manage_acquiredForm__roles__
|
manage_acquiredPermissions__roles__
|
manage_addLocalRoles__roles__
|
manage_changePermissions__roles__
|
manage_defined_roles__roles__
|
manage_delLocalRoles__roles__
|
manage_editLocalRoles
|
manage_editLocalRoles__roles__
|
manage_editRoles__roles__
|
manage_listLocalRoles
|
manage_listLocalRoles__roles__
|
manage_options
|
manage_permission__roles__
|
manage_permissionForm
|
manage_permissionForm__roles__
|
manage_role__roles__
|
manage_roleForm
|
manage_roleForm__roles__
|
manage_setLocalRoles__roles__
|
permission_settings__roles__
|
permissionMappingPossibleValues
|
permissionsOfRole__roles__
|
rolesOfPermission__roles__
|
selectedRoles
|
smallRolesWidget
|
userdefined_roles__roles__
|
_method_manage_access
|
_normal_manage_access
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 | http://epydoc.sf.net |