View Issue Details

This bug affects 1 person(s).
 252
IDProjectCategoryView StatusLast Update
04687Bug reportsSecuritypublic2010-10-20 13:53
Reporteruser10199Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionduplicate 
Product Version1.90+ 
Fixed in Version1.90+ 
Summary04687: Users with "export" right are not allowed to export survey answers
Description

Users wich are not superadmin are not able to export survey answer although the "export" permission is set for this particular survey.
The buttons won't show up in the menu bar of the "browse survey answer" section.

Steps To Reproduce

Create a dummy user and give him the rights "browse survey answers" and "export" onto a survey.
Login with this user and go to the "browse survey answer" section.
Menu buttons for exportation are not showing.

Additional Information

The problem comes from the browsemenubar function in the /admin/html_functions.php file.
The function is trying to use a global variable, $sumrows5, which is not set anywhere.

I was able to solve the problem replacing the 2 occurrences of $sumrows5["export"] == "1" (line 76 and 108) with bHasRight($surveyid, 'export')

TagsNo tags attached.
Bug heat252
Complete LimeSurvey version number (& build)9229
I will donate to the project if issue is resolved
Browser
Database type & versionMysSQL 5
Server OS (if known)Debian
Webserver software & version (if known)Apache 2
PHP Version5.2

Relationships

duplicate of 04679 closedc_schmitz Users with browse/export permissions on a given survey don't see the export functions. 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-10-20 13:53

administrator   ~13289

Please update to the latest version.

Issue History

Date Modified Username Field Change
2010-10-20 10:38 user10199 New Issue
2010-10-20 13:52 c_schmitz Relationship added duplicate of 04679
2010-10-20 13:53 c_schmitz Note Added: 13289
2010-10-20 13:53 c_schmitz Status new => closed
2010-10-20 13:53 c_schmitz Assigned To => c_schmitz
2010-10-20 13:53 c_schmitz Resolution open => duplicate
2010-10-20 13:53 c_schmitz Fixed in Version => 1.90+