def __init__(self, resource=None, role=None, group=None): Base.__init__(self) if resource is not None: self.resource = resource if role is not None: self.role = role if group is not None: self.group = group
def __init__(self, resource=None, role=None, user=None): Base.__init__(self) if resource is not None: self.resource = resource if role is not None: self.role = role if user is not None: self.user = user