How can i make a function that when ran it changes all the instances of REQUIRED_PERMISSION_LEVEL in the game to 1 all at once?

Im asking for then me to change it into a command so plz