Part of lp.registry.interfaces.accesspolicy View In Hierarchy
| Method | grant | Create `IAccessPolicyGrant`s. |
| Method | find | Return the specified `IAccessPolicyGrant`s if they exist. |
| Method | findByPolicy | Return all IAccessPolicyGrant objects for the policies. |
| Method | revoke | Revoke the specified grants. |
| Method | revokeByPolicy | Revoke all IAccessPolicyGrant for the policies. |
Create `IAccessPolicyGrant`s.
:param grants: a collection of
(`IAccessPolicy`, grantee `IPerson`, grantor `IPerson`) triples
to grant.
Return the specified `IAccessPolicyGrant`s if they exist.
:param grants: a collection of (`IAccessPolicy`, grantee `IPerson`)
pairs.
| Parameters | grants | a collection of (IAccessPolicy, grantee IPerson)
pairs. |