View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19315Bug reportsUser / Groups / Rolespublic2026-10-29 14:42
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version6.4.x 
Summary19315: Roles must not be shown as checked in permission
Description

When user have superadmin roles and no permission, editing permission set all permission checked.

Steps To Reproduce

Steps to reproduce

Create a role SUPER with nsuperadmin view
Create a new user , don't give him any permission
Assign role SUPER to your user
#1 Check permission : all seems enable
Save ,
remove SUPER roles
#2 user still have superadmin permission

Expected result

#1 : user must not seen like jave all permission ( indeterminate checkbox was used previously)
#2 : open and save must not give permission (without clean validation)

Actual result

#1 Show as checked
#2 : give permission

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.4.0
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant
Git branch / Pull Request URLN/A

Relationships

related to 19270 confirmedc_schmitz Permission edit page is more usable for SurveyGroup than for Survey 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-12-18 16:43

developer   ~79032

We still use data-indeterminate in group permission
But someone decide to use dialog box (and really : it's not a good idea here)

c_schmitz

c_schmitz

2026-10-27 17:16

administrator   ~86898

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

LimeBot

LimeBot

2026-10-29 14:42

administrator   ~86968

Fixed in Release 7.9.0+261029

Related Changesets

LimeSurvey: master e80d73cf

2026-10-27 17:15

c_schmitz


Details Diff
Fixed issue 19315: Permissions given by a role were shown as the user's own permissions and became permanent on save
Dev The edit user permissions modal now only ticks permissions stored for the user, permissions from a role or superadmin are shown with a dash
Dev Saving permissions for a user with roles now asks for confirmation, the warning names the roles and is shown at the top
Dev Assigning roles to a user with individual permissions now asks for confirmation too
Dev User management row menu: "Edit user" is renamed to "Edit" and comes first, "Edit permissions" to "Permissions", "User role" to "Roles", "Delete user" to "Delete", Activate/Deactivate moves down to before "Take ownership"
Dev User details show "—" when the user is in no user group or never logged in
Affected Issues
19315
mod - application/controllers/UserManagementController.php Diff File
mod - application/models/User.php Diff File
mod - application/views/userManagement/partial/addrole.php Diff File
mod - application/views/userManagement/partial/editpermissions.php Diff File
mod - application/views/userManagement/partial/showuser.php Diff File
mod - assets/packages/usermanagement/js/usermanagement.js Diff File

Issue History

Date Modified Username Field Change
2023-12-18 16:42 DenisChenu New Issue
2023-12-18 16:43 DenisChenu Note Added: 79032
2023-12-18 16:43 DenisChenu Bug heat 0 => 2
2023-12-18 16:47 DenisChenu Relationship added related to 19270
2026-10-27 17:16 c_schmitz Changeset attached => LimeSurvey master e80d73cf
2026-10-27 17:16 c_schmitz Note Added: 86898
2026-10-27 17:16 c_schmitz Assigned To => c_schmitz
2026-10-27 17:16 c_schmitz Status new => resolved
2026-10-27 17:16 c_schmitz Resolution open => fixed
2026-10-27 17:16 c_schmitz Bug heat 2 => 4
2026-10-29 14:42 LimeBot Note Added: 86968
2026-10-29 14:42 LimeBot Status resolved => closed
2026-10-29 14:42 LimeBot Bug heat 4 => 6