(self, permission, roles, REQUEST=None)
Set a permission for this State.
Set a permission for this State.
Set a permission for this State .
def setPermission(self, permission, roles, REQUEST=None):
    """
    Set a permission for this State.
    """
    if self.state_permission_role_list_dict is None:
      self.state_permission_role_list_dict = PersistentMapping()
    self.state_permission_role_list_dict[permission] = tuple(roles)
def setPermission ( self , permission , roles , REQUEST = None ) : if self . state_permission_role_list_dict is None : self . state_permission_role_list_dict = PersistentMapping ( ) self . state_permission_role_list_dict [ permission ] = tuple ( roles )