View Issue Details

This issue affects 2 person(s).
 14
IDProjectCategoryView StatusLast Update
19445Bug reportsUser / Groups / Rolespublic2026-02-11 10:21
Reportertammo Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.1.x 
Summary19445: Add user to user group does not give permission to earlier permitted surveys
Description

Adding a new user to a user group does not give access to the surveys the user group was given access to.

Steps To Reproduce

Login as admin (user1)
Create user group1
Add a user (user2)
Create a survey (survey1) and give permissions to user group1
Create new user (user3)
Add new user to group1

Expected to see: user2 and user 3 have permissions to survey1, but only user to has the earlier defined permissions.

As it is now: the concept of user groups is merely a way of bundling users at that time, it is not dynamic.

Not sure if it is a bug or a feature request, but the concept of user roles could be better.

I would expect to give permissions to individual users via the "Add user" dialog and to assign Dynamic users groups via the "Add group users" dialog

That way you can easily revoke access when deleting User groups from the permission table per survey and you can Add/Delete new users to surveys much easier.

TagsNo tags attached.
Bug heat14
Complete LimeSurvey version number (& build)6.1.4
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMYSQL
Server OS (if known)
Webserver software & version (if known)
PHP Version8.0

Users monitoring this issue

JanE

Activities

tammo

tammo

2024-02-26 21:57

developer   ~79649

The system as it is now seems to base itself on a non-dynamic organisation of users. In reality organisations that use LimeSurvey are dynamic.

tammo

tammo

2024-02-26 22:34

developer   ~79650

The same comments count for adding user groups to survey groups: when adding users to a user group these new users do not have automatically access to the surveys in the survey group.

tammo

tammo

2024-02-26 22:40

developer   ~79651

After adding a new user to a usergroup and logging in as that user, this user can see that there are survey groups (the survey group his user group has been given access to), but (s)he sees a 403 error.

403-Forbidden.png (18,321 bytes)   
403-Forbidden.png (18,321 bytes)   
tammo

tammo

2024-02-26 22:42

developer   ~79652

Last edited: 2024-02-26 22:43

This means that when your organisation employs new survey administrators, the whole concept of user groups and survey groups is actually worthless, the new survey administrator has to be given access/permissions on survey level.

Great start, but not there yet... ;-)

DenisChenu

DenisChenu

2025-02-14 08:20

developer   ~82033

I think all is moved to SurveyGroup now, better to use the new system

Haris.Pap

Haris.Pap

2026-01-29 13:36

reporter   ~84147

This issue seems to be still open in Version 6.16.2+251209 (Community Edition).
We would like to donate for an update towards dynamic user groups, meaning that all users are automatically granted with the related permissions (or get removed) when the group is edited.
Thank you

DenisChenu

DenisChenu

2026-01-29 14:58

developer   ~84148

I think all is moved to SurveyGroup now, better to use the new system

:)

Haris.Pap

Haris.Pap

2026-02-11 09:11

reporter   ~84202

Thanks Denis. By the "new system", do you mean the new unstable Version 7?

New: Upon running the latest update (6.16.8+260209), the "add group users" button doesn't work - see screenshot

DenisChenu

DenisChenu

2026-02-11 09:16

developer   ~84203

Thanks Denis. By the "new system", do you mean the new unstable Version 7?

No, I mean using Survey group like "permission system" for a lits of users

User groups have 2 puprose

To manage permission of a lits of user's on survey : i think it's better to use Survey groups now.

Haris.Pap

Haris.Pap

2026-02-11 09:30

reporter   ~84204

So, when new users (or "survey administrators") are added to a user group, they should automatically inherit the rights of all surveys, where this user group has been added to.
If this is right, it doesn't work. Thanks again for your help!

DenisChenu

DenisChenu

2026-02-11 09:33

developer   ~84205

So, when new users (or "survey administrators") are added to a user group, they should automatically inherit the rights of all surveys, where this user group has been added to.

No, it's not the case; see the 2 purposes: "Quick shortcut to add the same permission to a list of users (single time)" It's a single-time shortcut.

Haris.Pap

Haris.Pap

2026-02-11 09:44

reporter   ~84206

I see, thanks. But this issue is not a bug, but should be treated as a feature request, as originally stated in the description.
We would like to donate for an update towards dynamic user groups, meaning that all users are automatically granted with the related permissions (or get removed) when the group is edited.

Also, the adding user group to a survey now (6.16.8+260209) does not work. Could someone check and clarify, if this is to be treated as an individual bug?

DenisChenu

DenisChenu

2026-02-11 10:21

developer   ~84207

Also, the adding user group to a survey now (6.16.8+260209) does not work. Could someone check and clarify, if this is to be treated as an individual bug?

https://github.com/LimeSurvey/LimeSurvey/commit/d54b9bcf8acd66c10ca9ff32aeae8c51265cf004

Issue History

Date Modified Username Field Change
2024-02-26 21:56 tammo New Issue
2024-02-26 21:57 tammo Note Added: 79649
2024-02-26 21:57 tammo Bug heat 0 => 2
2024-02-26 22:34 tammo Note Added: 79650
2024-02-26 22:40 tammo Note Added: 79651
2024-02-26 22:40 tammo File Added: 403-Forbidden.png
2024-02-26 22:42 tammo Note Added: 79652
2024-02-26 22:43 tammo Note Edited: 79652
2024-02-27 11:16 JanE Issue Monitored: JanE
2024-02-27 11:16 JanE Bug heat 2 => 4
2025-02-14 08:20 DenisChenu Note Added: 82033
2025-02-14 08:20 DenisChenu Bug heat 4 => 6
2026-01-29 13:31 guest Bug heat 6 => 12
2026-01-29 13:36 Haris.Pap Note Added: 84147
2026-01-29 13:36 Haris.Pap Bug heat 12 => 14
2026-01-29 14:58 DenisChenu Note Added: 84148
2026-02-11 09:11 Haris.Pap Note Added: 84202
2026-02-11 09:11 Haris.Pap File Added: Add group users doesn't work.PNG
2026-02-11 09:16 DenisChenu Note Added: 84203
2026-02-11 09:30 Haris.Pap Note Added: 84204
2026-02-11 09:33 DenisChenu Note Added: 84205
2026-02-11 09:44 Haris.Pap Note Added: 84206
2026-02-11 10:21 DenisChenu Note Added: 84207