l.c.i.gitrule : module documentation

Part of lp.code.interfaces

Git repository access rules.
Function is_rule_exact Is this an exact-match rule?
Interface IGitRuleView IGitRule attributes that require launchpad.View.
Interface IGitRuleEditableAttributes IGitRule attributes that can be edited.
Interface IGitRuleEdit IGitRule attributes that require launchpad.Edit.
Interface IGitRule An access rule for a Git repository.
Interface IGitRuleGrantView IGitRuleGrant attributes that require launchpad.View.
Interface IGitRuleGrantEditableAttributes IGitRuleGrant attributes that can be edited.
Interface IGitRuleGrantEdit IGitRuleGrant attributes that require launchpad.Edit.
Interface IGitRuleGrant An access grant for a Git repository rule.
Interface IGitNascentRuleGrant An access grant in the process of being created.
Interface IGitNascentRule An access rule in the process of being created.
Function describe_git_permissions Return human-readable descriptions of a set of Git access permissions.
def is_rule_exact(rule):
Is this an exact-match rule?
ParametersruleAn IGitRule or IGitNascentRule.
ReturnsTrue if the rule is for an exact reference name, or False if it is for a wildcard.
def describe_git_permissions(permissions, verbose=False):
Return human-readable descriptions of a set of Git access permissions.
ParameterspermissionsA collection of GitPermissionType.
ReturnsA list of human-readable descriptions of the input permissions, in a conventional order.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.