method
JoinField.RestrictAccess
RestrictAccess conjoins the supplied join output access policy.
Arguments
| Argument | Type | Description |
|---|---|---|
value | Access | The value value. |
Returns
The declared result.
JoinFieldFull signature
func (f JoinField) RestrictAccess(value Access) JoinFieldRelated types
JoinFieldJoinField configures a list of documents that refer back to this document.
AccessAccess configures who may create, read, or update a field value. Assign it with a concrete field's Access method; an omitted rule leaves that operation unrestricted. Access replaces the field's complete policy group, while RestrictAccess adds only the supplied rules and requires both old and new rules to allow the operation.