method
View.AccessPolicy
AccessPolicy returns the immutable function group; closure captures remain author-owned.
Returns
The declared result.
AccessFull signature
func (d View) AccessPolicy() AccessRelated types
ViewView is a read-only snapshot of a canonical immutable node. Its readers detach mutable values; author fields through their concrete fluent facades.
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.