View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05196Bug reportsResponse browsingpublic2011-06-01 23:43
Reporterppuls Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91 
Fixed in Version1.91+ 
Summary05196: Only Owners can truely edit a response
Description

Hi!
Loving the new rights management per survey i found this one:

although i credit a user of mine with the rights levels (as seen in the sreenshot attached) this user can not save changes he made to a questionnaires responses receiving an error-message saying:

You are not allowed to update an existing response.<<

so either i misunderstood the rights management where it says "Update" for the responses or i found a bug.

the only way i can circumnavigate this is by putting the user to the "owner" of the questionnaire, then the update works.

looking forward to your answer,

cheers,

philipp

Steps To Reproduce
  • take any survey and ad a user with limited rights (as seen in the screenshot) to it
  • input an answer
  • list the answers
    -click on the crayon on the left of the answer row
  • change something in the answers
  • submit the changes
    --> Error-message

do the same thing with the test user being the "owner" of the survey and it works!

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)10089
I will donate to the project if issue is resolvedNo
BrowserFirefox 4.0.1
Database type & versionMySQL 5.0.45
Server OS (if known)Linux s15330791 2.6.9-023stab052.4
Webserver software & version (if known)Apache/2.2.4 (Linux/SUSE)
PHP VersionPHP/5.2.11

Users monitoring this issue

ppuls

Activities

c_schmitz

c_schmitz

2011-05-25 14:25

administrator   ~15109

Edit dataentry.php and remove the lines

    if ($_SESSION['USER_RIGHT_SUPERADMIN'] != 1  && $surveyinfo['owner_id'] != $_SESSION['loginID'])
    {
        safe_die('You are not allowed to update an existing response.');
    }

around line 1374

Fixed in rev. 10121

ppuls

ppuls

2011-05-25 14:44

reporter   ~15110

correct, this worked! thx!

c_schmitz

c_schmitz

2011-06-01 23:43

administrator   ~15235

New version released.

Issue History

Date Modified Username Field Change
2011-05-25 09:46 ppuls New Issue
2011-05-25 09:46 ppuls File Added: Screen shot 2011-05-25 at 09.12.09.png
2011-05-25 09:52 ppuls Issue Monitored: ppuls
2011-05-25 14:23 c_schmitz Assigned To => c_schmitz
2011-05-25 14:23 c_schmitz Status new => assigned
2011-05-25 14:25 c_schmitz Note Added: 15109
2011-05-25 14:25 c_schmitz Status assigned => resolved
2011-05-25 14:25 c_schmitz Fixed in Version => 1.91+
2011-05-25 14:25 c_schmitz Resolution open => fixed
2011-05-25 14:44 ppuls Note Added: 15110
2011-06-01 23:43 c_schmitz Note Added: 15235
2011-06-01 23:43 c_schmitz Status resolved => closed
2021-08-03 17:28 guest Bug heat 4 => 6