method

PolymorphicRelationshipsField.RestrictAccess

RestrictAccess combines supplied rules with existing access rules; both must allow.

Arguments

ArgumentTypeDescription
valueAccessThe value value.

Returns

The declared result.

PolymorphicRelationshipsField

Full signature

Related types

  • PolymorphicRelationshipsField

    PolymorphicRelationshipsField configures links to documents from any of the target collections.

  • Access

    Access 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.