Show permission missing error
Add console permissions
Improve permissions checking and fix bugs