l.c.m.g.GitRule(StormBase) : class documentation

Part of lp.code.model.gitrule View In Hierarchy

See IGitRule.
Method __init__ Undocumented
Method __repr__ Undocumented
Method toDataForJSON See IJSONPublishable.
Method grants See IGitRule.
Method addGrant See IGitRule.
Method setGrants See IGitRule.
Static Method preloadGrantsForRules Preload the access grants related to an iterable of rules.
Method destroySelf See IGitRule.
Method _validateGrants Validate a new iterable of access grants.

Inherited from StormBase:

Method __storm_invalidated__ Flush cached properties.
def __init__(self, repository, position, ref_pattern, creator, date_created):
Undocumented
def __repr__(self):
Undocumented
def toDataForJSON(self, media_type):
See IJSONPublishable.
@cachedproperty
def grants(self):
See IGitRule.
def addGrant(self, grantee, grantor, can_create=False, can_push=False, can_force_push=False, permissions=None):
See IGitRule.
def _validateGrants(self, grants):
Validate a new iterable of access grants.
def setGrants(self, grants, user):
See IGitRule.
@staticmethod
def preloadGrantsForRules(rules):
Preload the access grants related to an iterable of rules.
def destroySelf(self, user):
See IGitRule.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.