Correct synchronization of permissions

Logic will now be applied to all roles correctly.
Merge pull request #1433 from reciprocity/feature/auditor-permissions

Feature/auditor permissions