View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20060 | Bug reports | User / Groups / Roles | public | 2025-04-15 13:41 | 2025-04-17 17:11 |
Reporter | mo2025 | Assigned To | c_schmitz | ||
Priority | none | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Product Version | 6.6.x | ||||
Summary | 20060: Deleting a user is not possible | ||||
Description | I opened the page "User management" I tried to delete an user in the user list. Info: | ||||
Steps To Reproduce | Steps to reproduceI opened the page "User management" I tried to delete an user in the user list. Expected resultUser is deleted OR When user cant be deleted, I would have expected the reason why. Actual resultUser is not deleted. I get the info "error", but no more information. (Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 6.12.0+250317 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome / any browser | ||||
Database type & version | Microsoft Azure SQL Server | ||||
Server OS (if known) | Ubuntu Server | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 8.1.32 | ||||
Have you maybe configured that user ID as a forced SuperAdmin? Check for forcedsuperadmin in config-default.php and config.php |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=38791 |
|
I have added a fix so that in the next version a proper error should be shown. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=38792 |
|
@c_schmitz: Thank you for your hint and the fix for more informatoin. But all I have in config-default.php is line 674:$config['forcedsuperadmin'] = array(1); The user I try to delete is ID 2. |
|
Sorry - no, the suggestion with the shift key makes no sense when you look at it: grep -R forcedsuperadmin |
|
Can you try to manually apply the fix (the small one) and check if you get a different error? |
|
�This fixed my issue, thank you @C_schmitz. I was given the option of transferring the existing surveys for the user to another user. Thank you! |
|
LimeSurvey: master 53f45711 2025-04-17 14:33 Details Diff |
Fixed issue 20060: If a user cannot be delete due to being forced superadmin no specific error is shown |
Affected Issues 20060 |
|
mod - application/controllers/UserManagementController.php | Diff File | ||
LimeSurvey: master 74ac025a 2025-04-17 15:10 Details Diff |
Fixed issue 20060: If a user cannot be delete due to being forced superadmin no specific error is shown |
Affected Issues 20060 |
|
mod - application/controllers/UserManagementController.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-15 13:41 | mo2025 | New Issue | |
2025-04-15 13:41 | mo2025 | File Added: limesurvey-user.png | |
2025-04-15 13:41 | mo2025 | File Added: limesurvey-user-error.png | |
2025-04-17 14:32 | c_schmitz | Note Added: 82435 | |
2025-04-17 14:32 | c_schmitz | Bug heat | 0 => 2 |
2025-04-17 15:07 | c_schmitz | Changeset attached | => LimeSurvey master 53f45711 |
2025-04-17 15:07 | c_schmitz | Note Added: 82436 | |
2025-04-17 15:07 | c_schmitz | Assigned To | => c_schmitz |
2025-04-17 15:07 | c_schmitz | Status | new => resolved |
2025-04-17 15:07 | c_schmitz | Resolution | open => fixed |
2025-04-17 15:16 | c_schmitz | Note Added: 82437 | |
2025-04-17 15:19 | c_schmitz | Changeset attached | => LimeSurvey master 74ac025a |
2025-04-17 15:19 | c_schmitz | Note Added: 82438 | |
2025-04-17 16:15 | mo2025 | Note Added: 82440 | |
2025-04-17 16:15 | mo2025 | Bug heat | 2 => 4 |
2025-04-17 16:22 | mo2025 | Note Added: 82441 | |
2025-04-17 17:03 | c_schmitz | Note Added: 82442 | |
2025-04-17 17:11 | mo2025 | Note Added: 82443 | |
2025-04-17 17:11 | mo2025 | File Added: image.png |