clean up the permissions resolutionn
Merge pull request #10 from alexouzounis/permissionsEnhancment

clean up the permissions resolutionn