View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08376Bug reportsOtherpublic2013-11-25 15:39
Reportermfaber Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05 RC 
Target Version2.05+Fixed in Version2.05+ 
Summary08376: Limesurvey "forgets" global user permissions for "surveys"
Description

If checking the box for surveys permissions for a newly created user, a message appears, that the permissions have been set.
If you then go back to permission settings for this user, the permissions for "surveys" are not checked.

Oddly, if permissions for are set for "templates" AND "surveys", limesurvey also remembers the permissions for "surveys".

Steps To Reproduce

create a new user

press the little key to set global permissions
only check "surveys"

go back ---> surveys is not checked
check surveys AND templates

go back ---> both items are checked

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)131115
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionMySQL 5.0.10
Server OS (if known)Win7
Webserver software & version (if known)Apache/2.4.3 (Win32)
PHP VersionPhP 5.4.7

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-11-15 22:47

developer   ~27206

Strange, i can not reproduce in last GIT

mfaber

mfaber

2013-11-16 00:19

reporter   ~27207

Also using GIT 2.05

Tried again...new user...same thing.
I am also only seeing the "survey" permissions in the sql-db only when permissions for template AND survey are set.

If I then remove only the permission for template of the user, also the permissions for "surveys" are gone (also deleteted from the DB).

Strange indeed....

mfaber

mfaber

2013-11-16 00:36

reporter   ~27208

Haha, if I only set permissions for template then permissions for survey are also set :)

c_schmitz

c_schmitz

2013-11-21 00:28

administrator   ~27271

I cannot reproduce. Maybe try wiping your browser cache?

mfaber

mfaber

2013-11-21 03:16

reporter   ~27272

Tested again. Issue does not exist when admin interface is set to "English".
If you set the admin interface to "Deutsch", you should be able to reproduce it.

Tried both on a local XAMPP installation and on a linux based server install.

DenisChenu

DenisChenu

2013-11-21 09:09

developer   ~27273

I thin i test it in french, and seems it's OK. Surely some ' in Deutsch ????

mfaber

mfaber

2013-11-21 09:24

reporter   ~27274

Hi Denis,
tried in Francais and it's the same with "Templates" and "Utilisateur(s)".
In English it's a problem with "User groups" and "Users".

So it seems to be the problem always with the last and the second last item in the list.

mfaber

mfaber

2013-11-21 09:27

reporter   ~27275

2.0+ seems ok. The menu also looks different there.

c_schmitz

c_schmitz

2013-11-21 11:56

administrator   ~27288

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

mfaber

mfaber

2013-11-21 12:48

reporter   ~27291

Works well now, thanks for the fix, Carsten!

c_schmitz

c_schmitz

2013-11-25 15:39

administrator   ~27376

2.05RC7 released.

Related Changesets

LimeSurvey: 2.05 1ff0b164

2013-11-21 11:25

c_schmitz


Details Diff
Fixed issue 08376: Last row of global permissions not being saved
Dev Looks like a PHP bug to me
Affected Issues
08376
mod - application/models/Permission.php Diff File
mod - application/views/admin/user/setuserpermissions.php Diff File

Issue History

Date Modified Username Field Change
2013-11-15 22:31 mfaber New Issue
2013-11-15 22:33 mfaber Summary Limesurvey "forgets" user permissions for "surveys" => Limesurvey "forgets" global user permissions for "surveys"
2013-11-15 22:33 mfaber Steps to Reproduce Updated
2013-11-15 22:47 DenisChenu Note Added: 27206
2013-11-16 00:19 mfaber Note Added: 27207
2013-11-16 00:36 mfaber Note Added: 27208
2013-11-21 00:28 c_schmitz Note Added: 27271
2013-11-21 00:28 c_schmitz Assigned To => c_schmitz
2013-11-21 00:28 c_schmitz Status new => feedback
2013-11-21 03:16 mfaber Note Added: 27272
2013-11-21 03:16 mfaber Status feedback => assigned
2013-11-21 09:09 DenisChenu Note Added: 27273
2013-11-21 09:24 mfaber Note Added: 27274
2013-11-21 09:27 mfaber Note Added: 27275
2013-11-21 11:25 c_schmitz Status assigned => resolved
2013-11-21 11:25 c_schmitz Fixed in Version => 2.05+
2013-11-21 11:25 c_schmitz Resolution open => fixed
2013-11-21 11:56 c_schmitz Changeset attached => LimeSurvey 2.05 1ff0b164
2013-11-21 11:56 c_schmitz Note Added: 27288
2013-11-21 12:48 mfaber Note Added: 27291
2013-11-22 11:28 c_schmitz Target Version => 2.05+
2013-11-25 15:39 c_schmitz Note Added: 27376
2013-11-25 15:39 c_schmitz Status resolved => closed