418419420421422423424425426427428
if( label != null ) { field.setFieldLabel(label); } if( role != null && user != null ) { if( isAdminOrContributor(role, user) ) { field.enable(); } else { field.disable(); } }