Part of lp.code.interfaces.gitrule View In Hierarchy
Known subclasses: lp.code.interfaces.gitrule.IGitRule
IGitRule
attributes that require launchpad.Edit.Method | addGrant | Add an access grant to this rule. |
Method | setGrants | Set the access grants for this rule. |
Method | destroySelf | Delete this rule. |
Parameters | grantee | The IPerson who is being granted permission, or an
item of GitGranteeType other than GitGranteeType.PERSON to
grant permission to some other kind of entity. |
grantor | The IPerson who is granting permission. | |
can_create | Whether the grantee can create references matching this rule. | |
can_push | Whether the grantee can push references matching this rule. | |
can_force_push | Whether the grantee can force-push references matching this rule. |
Parameters | grants | A sequence of IGitNascentRuleGrant . |
user | The IPerson who is granting permission. |