Have had a few occasions where certain team members at my office needed to uncheck the box to join networks automatically but then were given this admin prompt.
Solved
Allow non-admins to disable automatically joining a network

Best answer by dmccluskey
sudo security authorizationdb write system.preferences allow; sudo security authorizationdb write system.preferences.network allow; sudo security authorizationdb write system.services.systemconfiguration.network allow; sudo security authorizationdb write com.apple.wifi allow
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.