Allow getting permissions for a role.
Code style.
Merge branch 'release/2.1b1' of github.com:vanillaforums/Garden into release/2.1b1