public HiddenFieldEditPermission(ContentPart part, HiddenStringField field) { Name = "HiddenFieldEditPermission_" + part.PartDefinition.Name + "." + field.Name; Part = part; Field = field; ImpliedBy = new Permission[] { HiddenFieldsPermissions.MayEditHiddenFields }; }
public Permission GetSeeOwnPermission(ContentPart part, HiddenStringField field) { return(GetSeeOwnHiddenPermission(part.PartDefinition.Name, field.Name)); }