Allow non-string permissions
Added tests for permissions
Merge branch 'hotfix/4688'

Close #4688
Merge pull request #4564 from davidwindell/patch-10

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

Forward port #4564