View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09585 | Bug reports | Theme editor | public | 2015-03-23 21:26 | 2015-07-24 11:44 |
Reporter | nwinter | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 09585: Template permissions don't work for templates with spaces or dashes in name | ||||
Description | Templates can be created with spaces, underscores, and dashes in the names. Administrators with template rights can use them. They appear on the list of templates in the template permissions administrative screen. But users who (1) do not have template permission but (2) have been granted permission to use the template cannot see it in the dropdown list of available templates. | ||||
Steps To Reproduce | Create a template with a dash or space in the name. Grant a user who does not have global template permission access to it. The user will not be able to see it in the list of templates. | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | Build 150310 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Any | ||||
Database type & version | 178 | ||||
Server OS (if known) | x86_64-redhat-linux-gnu | ||||
Webserver software & version (if known) | Apache/2.2.17 | ||||
PHP Version | 5.3.8 | ||||
Problems : can you actually create a template with space ? Seems when copying [space] is replaced with dash... dash seems OK for template name ;) |
|
I think this is not about copying templates but a user right issue: "Grant a user who does not have global template permission access to it. The user will not be able to see it in the list of templates." |
|
Yes Mazi, i understand BUT :
etc .... Here : it seems teplate list and template name have different behaviour. Fix template name before template list is the best idea (i think). Did 2.06 have same issue too : https://github.com/LimeSurvey/LimeSurvey/blob/2.06/application/models/Template.php#L127 |
|
Please : can you test with last version (build of today) |
|
Tested with last 2.06 seem to work |
|
Version 2.06 Build 150723 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-23 21:26 | nwinter | New Issue | |
2015-06-01 09:04 | Mazi | Issue Monitored: Mazi | |
2015-06-01 09:20 | DenisChenu | Note Added: 32275 | |
2015-06-01 09:23 | Mazi | Note Added: 32276 | |
2015-06-01 09:52 | DenisChenu | Note Added: 32277 | |
2015-06-25 19:34 | DenisChenu | Note Added: 32520 | |
2015-06-25 19:34 | DenisChenu | Assigned To | => DenisChenu |
2015-06-25 19:34 | DenisChenu | Status | new => feedback |
2015-06-30 17:58 | DenisChenu | Note Added: 32582 | |
2015-06-30 17:58 | DenisChenu | Status | feedback => resolved |
2015-06-30 17:58 | DenisChenu | Fixed in Version | => 2.06+ |
2015-06-30 17:58 | DenisChenu | Resolution | open => fixed |
2015-07-24 11:44 | c_schmitz | Note Added: 32797 | |
2015-07-24 11:44 | c_schmitz | Status | resolved => closed |
2015-12-11 14:40 | c_schmitz | Category | Templates => Theme editor |