Allow non-string permissions
Added tests for permissions
Merge pull request #4564 from davidwindell/patch-10

[Navigation] Allow non-string permissions
Merge branch 'hotfix/4564'

Close #4564