change_permission now creates localsettings