public void user_rights_is_not_enough_throw_ForbiddenException() throws Exception {
insertPermissionsForProject(DEFAULT_PROJECT_KEY);
queue.add(DEFAULT_PROJECT_KEY, 123L);
AnalysisReportDto report = queue.all().get(0);
report.succeed();
queue.remove(report);
userSession.setGlobalPermissions(GlobalPermissions.SCAN_EXECUTION);
WsTester.TestRequest sut = wsTester.newGetRequest(AnalysisReportWebService.API_ENDPOINT, AnalysisReportHistorySearchAction.SEARCH_ACTION);
sut.execute();