View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19077Bug reportsOtherpublic2026-09-28 17:25
ReporterJmantysalo Assigned Toc_schmitz  
PrioritynoneSeveritytweak 
Status closedResolutionfixed 
Product Version5.6.x 
Summary19077: Survey groups shows number of surveys
Description

Strange bug, see attached picture. A user is not a superuser, but has permission to create survey groups. The list of groups looks like there were about 1600 groups, so it shows the number of surveys, not groups. For a superuser the count is right one. (Theoretically I think a non-superuser should not see the number of surveys at all, but that's not a real problem.)

Another thing, it also seems that when setting a group for a survey the list shows all groups, including those from other users.

TagsNo tags attached.
Attached Files
surveygroups.png (58,215 bytes)   
surveygroups.png (58,215 bytes)   
Bug heat4
Complete LimeSurvey version number (& build) 5.6.28+230627
I will donate to the project if issue is resolvedNo
Browser
Database type & versionN/A
Server OS (if known)
Webserver software & version (if known)
PHP VersionN/A
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-09-23 12:24

administrator   ~85943

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

LimeBot

LimeBot

2026-09-28 17:25

administrator   ~86057

Fixed in Release 7.4.0+260928

Related Changesets

LimeSurvey: master 3db75534

2026-09-23 12:24

c_schmitz

Committer: GitHub


Details Diff
Fixed issue 19077: Survey group count and group-assignment filtering for non-superadmins Affected Issues
19077
mod - application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_change_survey_group.php Diff File
mod - application/models/SurveysGroups.php Diff File
add - tests/unit/models/SurveysGroupsSearchTest.php Diff File

Issue History

Date Modified Username Field Change
2023-09-11 16:53 Jmantysalo New Issue
2023-09-11 16:53 Jmantysalo File Added: surveygroups.png
2023-09-11 19:37 gabrieljenik Status new => acknowledged
2023-09-14 14:14 gabrieljenik Assigned To => gabrieljenik
2023-09-14 14:14 gabrieljenik Status acknowledged => assigned
2023-10-04 14:39 gabrieljenik Assigned To gabrieljenik =>
2023-10-04 14:39 gabrieljenik Status assigned => confirmed
2026-09-23 11:06 c_schmitz Assigned To => c_schmitz
2026-09-23 11:06 c_schmitz Status confirmed => assigned
2026-09-23 12:24 c_schmitz Changeset attached => LimeSurvey master 3db75534
2026-09-23 12:24 c_schmitz Note Added: 85943
2026-09-23 12:24 c_schmitz Status assigned => resolved
2026-09-23 12:24 c_schmitz Resolution open => fixed
2026-09-23 12:24 c_schmitz Bug heat 0 => 2
2026-09-28 17:25 LimeBot Note Added: 86057
2026-09-28 17:25 LimeBot Status resolved => closed
2026-09-28 17:25 LimeBot Bug heat 2 => 4