change struct field permission