View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
08106Bug reportsTheme editorpublic2013-10-22 17:09
Reporterlowprofile Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version2.00+ 
Summary08106: Standard user unable to pick non default templates
Description

V2 Build 130708
With an admin account
Create a non built in template
Create a survey, assign new template to survey
Create a user without any rights
give new user access to all templates
log out
log in with new user with limited permissions
user should edit general settings and note that only standard templates appear in drop down

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)130708
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

lowprofile

Activities

lowprofile

lowprofile

2013-08-22 18:05

reporter   ~26048

notes: standard user can see the template preview for the pre assigned "non standard" template, on first edit of general settings but unable to select it

DenisChenu

DenisChenu

2013-09-03 14:17

developer   ~26141

Just tested:

Create an user
Create a lot of template
Give right on this user to all template
Create a survey, give user survey_seetings rigth on this surevy

User can select the template

What os your LS version ? WHat is the template name ?

lowprofile

lowprofile

2013-09-03 15:07

reporter   ~26145

Last edited: 2013-09-03 15:52

I'm using win2k3 on iis6.
When i give the same user the global right to "use all templates" then they can see all templates, so it does not seem to be a permissions issue on the folder.

"Give right on this user to all template" - but not in the global rights... just through the user settings.

Any template I copy from an original one

If its an IIS6/windows coding issue, which file is controlling the viewing rights to the /upload/template folder for regular users..

DenisChenu

DenisChenu

2013-09-05 12:15

developer   ~26159

Please try this update:
https://github.com/Shnoulle/LimeSurvey/commit/7cf78dd8d41cfed7e1210ffef7b40b7790a4e712

And get back if OK.

Think it can not be related (no difference for super admin and other user), but to be tested.

lowprofile

lowprofile

2013-09-05 18:51

reporter   ~26162

Last edited: 2013-09-05 18:56

ok, i didn't test your changes, but it looks like I found the issue.
All the templates I created have an underscore instead of spaces
So copy_of_basic
or Replacement_Default
I also just noticed they do not see default templates with the underscore such as mint_idea

You should be able to reproduce it now, i will test in your demo...still works on on your demo, so i guess its a windows issue

Its possible your fix could still resolve this? if it does I will test it.

DenisChenu

DenisChenu

2013-09-06 08:45

developer   ~26163

Maybe ? Best is to give it a try.

I don't know if there are an issue with underscore in windows name.

But :

  • The super admin see the template or not ?
DenisChenu

DenisChenu

2013-09-07 12:08

developer   ~26173

@lowprofile : do you have time to test with update file ?

lowprofile

lowprofile

2013-09-07 13:27

reporter   ~26175

Last edited: 2013-09-07 13:30

I tested and it did not fix -sorry
So as it stands, users with "edit/see all templates" or super admins can see the templates with the but regular users cannot see any templates with a
I've renamed my main template to have no
The renamed templates with the
still appear in the list of templates to assign to users for all users (when the super admin is assigning templates to view)

DenisChenu

DenisChenu

2013-10-01 14:36

developer   ~26457

Can not test and fix ...

c_schmitz

c_schmitz

2013-10-11 18:17

administrator   ~26741

I can't reproduce it either. Please udpate to the latest 2.00+ build. If you still can reproduce can you please again give details on:

  • What permissions has the user on global level
  • What template permissions has the user on global level
  • What permissions hast the user on survey level
c_schmitz

c_schmitz

2013-10-21 08:40

administrator   ~26858

Feedback please?

lowprofile

lowprofile

2013-10-22 17:02

reporter   ~26924

I'll only be able to test this in a few weeks

c_schmitz

c_schmitz

2013-10-22 17:09

administrator   ~26925

Ok, please re-open if you can still reproduce then.

Issue History

Date Modified Username Field Change
2013-08-21 15:15 lowprofile New Issue
2013-08-21 19:44 lowprofile Issue Monitored: lowprofile
2013-08-22 18:05 lowprofile Note Added: 26048
2013-08-31 12:55 Mazi Assigned To => DenisChenu
2013-08-31 12:55 Mazi Status new => assigned
2013-09-02 08:26 mdekker Project Feature requests => Bug reports
2013-09-03 14:17 DenisChenu Note Added: 26141
2013-09-03 15:07 lowprofile Note Added: 26145
2013-09-03 15:52 lowprofile Note Edited: 26145
2013-09-05 12:15 DenisChenu Note Added: 26159
2013-09-05 12:15 DenisChenu Status assigned => feedback
2013-09-05 18:51 lowprofile Note Added: 26162
2013-09-05 18:51 lowprofile Status feedback => assigned
2013-09-05 18:55 lowprofile Note Edited: 26162
2013-09-05 18:56 lowprofile Note Edited: 26162
2013-09-06 08:45 DenisChenu Note Added: 26163
2013-09-07 12:08 DenisChenu Status assigned => feedback
2013-09-07 12:08 DenisChenu Note Added: 26173
2013-09-07 13:27 lowprofile Note Added: 26175
2013-09-07 13:27 lowprofile Status feedback => assigned
2013-09-07 13:29 lowprofile Note Edited: 26175
2013-09-07 13:30 lowprofile Note Edited: 26175
2013-10-01 14:36 DenisChenu Assigned To DenisChenu =>
2013-10-01 14:36 DenisChenu Note Added: 26457
2013-10-01 14:36 DenisChenu Assigned To => DenisChenu
2013-10-01 14:36 DenisChenu Status assigned => new
2013-10-01 14:38 DenisChenu Assigned To DenisChenu => c_schmitz
2013-10-01 14:38 DenisChenu Status new => assigned
2013-10-11 17:57 c_schmitz LimeSurvey build number OR git commit ID => 130708
2013-10-11 17:57 c_schmitz Product Version => 2.00+
2013-10-11 18:17 c_schmitz Note Added: 26741
2013-10-11 18:17 c_schmitz Status assigned => feedback
2013-10-21 08:40 c_schmitz Note Added: 26858
2013-10-22 17:02 lowprofile Note Added: 26924
2013-10-22 17:02 lowprofile Status feedback => assigned
2013-10-22 17:09 c_schmitz Note Added: 26925
2013-10-22 17:09 c_schmitz Status assigned => closed
2013-10-22 17:09 c_schmitz Resolution open => unable to reproduce
2015-12-11 14:40 c_schmitz Category Templates => Theme editor
2021-09-09 09:48 guest Bug heat 6 => 8