Part of lp.registry.interfaces.accesspolicy View In Hierarchy
| Method | grant | Create `IAccessArtifactGrant`s. |
| Method | find | Return the specified `IAccessArtifactGrant`s if they exist. |
| Method | findByArtifact | Return IAccessArtifactGrant objects for the artifacts. |
| Method | revokeByArtifact | Delete IAccessArtifactGrant objects for the artifacts. |
Create `IAccessArtifactGrant`s.
:param grants: a collection of
(`IAccessArtifact`, grantee `IPerson`, grantor `IPerson`) triples
to grant.
Return the specified `IAccessArtifactGrant`s if they exist.
:param grants: a collection of (`IAccessArtifact`, grantee `IPerson`)
pairs.
IAccessArtifactGrant objects for the artifacts.| Parameters | artifacts | the artifacts for which to find any grants. |
| grantees | find grants for the specified grantees only, else find all grants. |
IAccessArtifactGrant objects for the artifacts.| Parameters | artifacts | the artifacts to which revoke access. |
| grantees | revoke access for the specified grantees only, else delete all grants. |