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