Revert "Issue #1912602 by dawehner, dagmar, tim.plunkett, bdone: Changing view access from 'Permission' to 'Role' causes AJAX error message re getRoles()."

This reverts commit 0f17b0ec75024f4e4f6d43c2dc01362b02739ab9.