Fixed spelling and syntax in setPermissions
setPermissions uses a field in settings to add users to modifiers