View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09355Bug reportsAuthenticationpublic2014-11-13 17:11
Reporterwolfgangb Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09355: group rights cannot be set
Description

If I try to grant privileges to a group, I get an acces denied error.

Steps To Reproduce
  1. create a user (not a superadmin) "U1" with all privileges
  2. this user "U1" creates another user ("U2") with privilege to create a survey
  3. create a group "G1" containing these two users
  4. User "U2" creates a survey
  5. User "U2" tries to grant privileges to the group
    5a. select the group and add it to the privileged groups
    5b. click on "set user privileges" -> Access denied
Additional Information

During the analysis, I got to surveypermission.php, function "set", the line with
"elseif ($action == "setusergroupsurveysecurity").
If I set a comment, so the error is not raised, everything works fine.
It seems that the condition for raising the error is wrong.
For me, it looks like the Groupid is searched in a list of users, not a list of groups...

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Version 2.05+ Build 140911
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)RHEL
Webserver software & version (if known)Apache
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-11-13 00:17

administrator   ~30961

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14617

c_schmitz

c_schmitz

2014-11-13 17:11

administrator   ~30985

Version 2.05 Build 141113 released

Related Changesets

LimeSurvey: master fa924299

2014-11-12 23:17:11

c_schmitz

Details Diff
Fixed issue 09355: Group rights cannot be set Affected Issues
09355
mod - application/controllers/admin/surveypermission.php Diff File

Issue History

Date Modified Username Field Change
2014-11-11 12:40 wolfgangb New Issue
2014-11-13 00:16 c_schmitz Assigned To => c_schmitz
2014-11-13 00:16 c_schmitz Status new => assigned
2014-11-13 00:17 c_schmitz Changeset attached => LimeSurvey master fa924299
2014-11-13 00:17 c_schmitz Note Added: 30961
2014-11-13 00:17 c_schmitz Resolution open => fixed
2014-11-13 00:17 c_schmitz Status assigned => resolved
2014-11-13 00:17 c_schmitz Fixed in Version => 2.05+
2014-11-13 17:11 c_schmitz Note Added: 30985
2014-11-13 17:11 c_schmitz Status resolved => closed