Fix PERMISSION requirement not working