Added basic handler for permissions requests