View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
09122Bug reportsSurvey editingpublic2014-08-11 11:57
Reporterwebmasterlpo Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09122: User can view 'edit local settings' even without access
Description

Admin (non Superadministrator) can't edit text elements of surveys (description, welcome message...).

The button "Edit text elements" is not available and if we click on "Save & edit survey text elements" it produce a message : "Error

Access denied"

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)140618
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5
Server OS (if known)Debian
Webserver software & version (if known)Apache 2.2
PHP Version5.3

Users monitoring this issue

mfaber

Activities

DenisChenu

DenisChenu

2014-07-01 09:12

developer   ~30247

What is the rigth of this user on this survey ?
What is the global rigth of this user ?

Please provide 2 screen it's better to find.

webmasterlpo

webmasterlpo

2014-07-01 09:26

reporter   ~30249

I've found the problem, the button "Survey locale settings" parameter wasn't ticked for the user. (maybe make the label clearer ?)

A bug : If the setting isn't ticked and "Survey settings" is ticked, when we click on "Save & edit survey text elements >>" we get a weird "Error Access denied" page (see screenshot)

DenisChenu

DenisChenu

2014-07-01 09:34

developer   ~30250

Last edited: 2014-07-01 09:34

1 :Yes, the error screen must be better (it's not the only one).

2nd: we need to deactivate button click (or remove from HTML) the button . AND deactivate text edition.

3rd: survey text elements is Survey locale settings : did you have a better english sentence ?

webmasterlpo

webmasterlpo

2014-07-01 10:12

reporter   ~30251

3: In fact, it's not really a "locale settings" (it's in "Survey settings"), but set the text elements in different locales. Maybe "Text elements" will be better.

DenisChenu

DenisChenu

2014-08-01 18:55

developer   ~30392

Last edited: 2014-08-01 18:59

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

Don't update error system (no fixed global system actually)

c_schmitz

c_schmitz

2014-08-11 11:57

administrator   ~30407

2.05+ Build 140811 released

Related Changesets

LimeSurvey: master 17b74853

2014-08-01 16:55:41

DenisChenu

Details Diff
Fixed issue 09122: User can view 'edit local settings' button even without access
Dev: remove the button in edit survey setings
Dev: rename the permission to Survey text elements like the menu
Dev: Remove big alt attribute for img in permission (accessibility issue)
Affected Issues
09122
mod - application/controllers/admin/surveypermission.php Diff File
mod - application/models/Permission.php Diff File
mod - application/views/admin/survey/editSurvey_view.php Diff File
mod - scripts/admin/admin_core.js Diff File

Issue History

Date Modified Username Field Change
2014-06-30 11:46 webmasterlpo New Issue
2014-06-30 14:59 mfaber Issue Monitored: mfaber
2014-07-01 09:12 DenisChenu Note Added: 30247
2014-07-01 09:23 webmasterlpo File Added: Capture d’écran 2014-07-01 à 09.21.25.jpg
2014-07-01 09:26 webmasterlpo Note Added: 30249
2014-07-01 09:34 DenisChenu Note Added: 30250
2014-07-01 09:34 DenisChenu Note Edited: 30250
2014-07-01 10:12 webmasterlpo Note Added: 30251
2014-07-25 09:30 c_schmitz Assigned To => DenisChenu
2014-07-25 09:30 c_schmitz Status new => assigned
2014-08-01 18:24 DenisChenu Summary User can't edit text elements of surveys => User can view 'edit local settings' even without access
2014-08-01 18:55 DenisChenu Changeset attached => LimeSurvey master 17b74853
2014-08-01 18:55 DenisChenu Note Added: 30392
2014-08-01 18:55 DenisChenu Resolution open => fixed
2014-08-01 18:58 DenisChenu Status assigned => resolved
2014-08-01 18:58 DenisChenu Fixed in Version => 2.05+
2014-08-01 18:59 DenisChenu Note Edited: 30392
2014-08-01 18:59 DenisChenu Note Edited: 30392
2014-08-11 11:57 c_schmitz Note Added: 30407
2014-08-11 11:57 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-03 13:40 guest Bug heat 6 => 8