I have been unable to find how much, if any, authority was had for the creation of local laws in Míng China. Was it allowed to create local laws at the town, city, or provincial level in Míng China? And, if so, then who had that authority?
Edit after Semaphore’s comment: So local officials can make a by-law, but what happens if people violate that by-law assuming whatever they do doesn’t violate imperial law? Can they be punished? I know the Grand Administrator would send inspectors to ensure that local criminal lawsuits were conducted fairly. How would they view lawsuits involving these by-laws?