View Issue Details

This bug affects 1 person(s).
 254
IDProjectCategoryView StatusLast Update
06302Bug reportsSecuritypublic2012-07-26 09:49
Reporteruser20690Assigned Toc_schmitz  
PriorityhighSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06302: Allowed memory size of 52428800 bytes exhausted (tried to allocate 55556 bytes) in classes/expressions/LimeExpressionManager.php
Description

Hi, I find a very weird bug in 1.92. While admin assigns all rights to a ordinary user, the assigned user can't add other user. Or this error will occur: "Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 57033 bytes) in classes/expressions/LimeExpressionManager.php on line 5901".

Steps To Reproduce
  1. create a survey using admin
  2. add a user to the survey
  3. using the added user to log in
  4. add other user or editing existing users
TagsNo tags attached.
Bug heat254
Complete LimeSurvey version number (& build)120623
I will donate to the project if issue is resolvedYes
Browser
Database type & versionmysql Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (i686) using readline 5.1
Server OS (if known)Centos 5.7 32bit
Webserver software & version (if known)Server version: Apache/2.2.3
PHP VersionPHP 5.3.14

Relationships

duplicate of 06312 closedc_schmitz Editing Survey Security Permissions as non-super-admin and non-survey owner throws PHP Fatal Error 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-07-07 14:05

administrator   ~19668

Can you describe your steps in more details please?
What permissions do you assign to the particular user exactly?

user20690

2012-07-07 14:09

  ~19669

According to my test, what kind of permissions doesn't matter, as long as the added users try to add new users or edit new existing users of that survey.

c_schmitz

c_schmitz

2012-07-07 14:26

administrator   ~19672

If I create a user without any permissionis I cannot add or edit new users. So what permissions are you exactly giving on global and survey level?

c_schmitz

c_schmitz

2012-07-18 13:32

administrator   ~19748

Feedback please?

user20690

2012-07-18 15:20

  ~19757

Sorry, I missed the E-mail notice.

As long as the user is added to the survey and he can choose the user in the group to add or edit.

c_schmitz

c_schmitz

2012-07-18 16:16

administrator   ~19769

I am sorry but that is not possible. A user added to a survey without any permission in that particular survey cannot add/edit other users in that particular survey. Can you please check again?

user20690

2012-07-18 16:19

  ~19770

  1. The user is added to the survey
  2. The can choose the user in the group to add or edit

They are two conditions both of which should be met.

c_schmitz

c_schmitz

2012-07-18 19:46

administrator   ~19793

I am sorry but this is not possible.
Since i think we have some misunderstanding please give me a detailed description of steps to reproduce the issue (which I have asked from you previously, too).

c_schmitz

c_schmitz

2012-07-24 20:22

administrator   ~19952

Feedback please?

c_schmitz

c_schmitz

2012-07-26 09:49

administrator   ~19975

It's already fixed in the latest version.

Issue History

Date Modified Username Field Change
2012-07-04 19:10 user20690 New Issue
2012-07-07 14:05 c_schmitz Note Added: 19668
2012-07-07 14:05 c_schmitz Assigned To => c_schmitz
2012-07-07 14:05 c_schmitz Status new => feedback
2012-07-07 14:09 user20690 Note Added: 19669
2012-07-07 14:09 user20690 Status feedback => assigned
2012-07-07 14:26 c_schmitz Note Added: 19672
2012-07-07 14:26 c_schmitz Status assigned => feedback
2012-07-18 13:32 c_schmitz Note Added: 19748
2012-07-18 15:20 user20690 Note Added: 19757
2012-07-18 15:20 user20690 Status feedback => assigned
2012-07-18 16:16 c_schmitz Note Added: 19769
2012-07-18 16:16 c_schmitz Status assigned => feedback
2012-07-18 16:19 user20690 Note Added: 19770
2012-07-18 16:19 user20690 Status feedback => assigned
2012-07-18 19:46 c_schmitz Note Added: 19793
2012-07-18 19:46 c_schmitz Status assigned => feedback
2012-07-24 20:22 c_schmitz Note Added: 19952
2012-07-25 05:46 user20690 Status feedback => assigned
2012-07-26 09:49 c_schmitz Relationship added duplicate of 06312
2012-07-26 09:49 c_schmitz Status assigned => resolved
2012-07-26 09:49 c_schmitz Fixed in Version => 1.92+
2012-07-26 09:49 c_schmitz Resolution open => fixed
2012-07-26 09:49 c_schmitz Note Added: 19975
2012-07-26 09:49 c_schmitz Status resolved => closed