Unrestricts the visibility of the Obj, i.e. makes it visible to any visitor (after publishing).
Obj
const obj = Obj.all().first(); if (obj.isRestricted()) { obj.unrestrict(); }
Returns
void
See also
restrict, isRestricted
restrict
isRestricted