View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08842Bug reportsTheme editorpublic2014-03-20 14:52
Reporterdawansv Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary08842: Survey template reverts back to default when user WITHOUT global template permission updates survey settings
Description

One of my admin users has "Survey settings" permission at the survey level but does not have the "template" permission at the global level.

As a result, when that user edits the "General Settings - Presentation and Navigation" screen, the template appears blank. This is a survey that uses a template other than default.

Then when saving the template for that survey actually reverts back to default.

Steps To Reproduce
  1. Ask full admin user to set template for given survey to other than default
  2. Ask full admin user to define user with "Survey settings" permission at the survey level but NOT the "template" permission at the global level.
  3. Ask this admin user (with limited rights) to edit and SAVE the "General Settings - Presentation and Navigation" screen (without actually making any changes to it)
  4. The template for the survey will now be reverted back to default
Additional Information

Workaround exists: make sure all admin users have template permission.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Build 140302
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5.5.29-0ubuntu0.12.04.1
Server OS (if known)Ubuntu 12.04.1
Webserver software & version (if known)Apache 2.2.22
PHP Version5.3.10-1ubuntu3.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-03-19 14:48

developer   ~29403

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

c_schmitz

c_schmitz

2014-03-20 14:52

administrator   ~29450

2.05+ Build 140320 released

Related Changesets

LimeSurvey: master a4c5be74

2014-03-19 13:48:28

DenisChenu

Details Diff
Fixed issue 08842: Survey template reverts back to default when user don't have read access to actual template
Dev: Allow to use actual template in all condition
Dev: use default template from config (even if user don't have acess to it).
Affected Issues
08842
mod - application/controllers/admin/database.php Diff File
mod - application/views/admin/survey/subview/tabPresentation_view.php Diff File

Issue History

Date Modified Username Field Change
2014-03-11 20:35 dawansv New Issue
2014-03-13 12:53 DenisChenu Assigned To => DenisChenu
2014-03-13 12:53 DenisChenu Status new => assigned
2014-03-19 14:48 DenisChenu Changeset attached => LimeSurvey master a4c5be74
2014-03-19 14:48 DenisChenu Note Added: 29403
2014-03-19 14:48 DenisChenu Resolution open => fixed
2014-03-19 14:48 DenisChenu Status assigned => resolved
2014-03-19 14:48 DenisChenu Fixed in Version => 2.05+
2014-03-20 14:52 c_schmitz Note Added: 29450
2014-03-20 14:52 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor