Merge "If a user does not have permission to view a log type, throw a PermissionsError"