Update setting permissions

This needs to be reworked in a better way