View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18511Bug reportsCentral participant databasepublic2026-10-09 15:44
ReporterShiXiong Assigned Toc_schmitz  
PrioritynoneSeveritytweak 
Status resolvedResolutionfixed 
Product Version5.4.x 
Summary18511: CPDB : user wis “create” only permission. if click “delete” icon, null is showing in the alert
Description

create a new user with only "create" permission.
after login with the new user, create a new participant.
try to click "delete", null is showing in the alert.

Steps To Reproduce

Steps to reproduce

  1. create a new user with only "create" permission.
  2. after logout, login with the new user
  3. create a new participant.
  4. try to click "delete"

    Expected result

    user should be deleted and there should be a success message in the alert.

Actual result

null is showing in the alert.

TagsNo tags attached.
Attached Files
1.png (53,566 bytes)   
1.png (53,566 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)demo
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

Relationships

related to 18512 resolvedc_schmitz CPDB user with “view/read“ only permission. if click “Add participant“, the participant is not created, and null is showing 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-09 15:44

administrator   ~86277

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

Related Changesets

LimeSurvey: master b22c610a

2026-10-09 15:44

c_schmitz


Details Diff
Fixed issue 18511: Deleting their own central participant without global delete permission showed "null" and did nothing Affected Issues
18511
mod - application/controllers/admin/ParticipantsAction.php Diff File
mod - application/models/Participant.php Diff File
mod - assets/scripts/admin/participantpanel.js Diff File
mod - tests/unit/controllers/ParticipantActionTest.php Diff File

Issue History

Date Modified Username Field Change
2022-11-28 09:59 ShiXiong New Issue
2022-11-28 09:59 ShiXiong File Added: 1.png
2022-11-28 10:27 DenisChenu Summary when the user has “create” only permission. if click “delete” icon, null is showing in the alert => CPDB : user wis “create” only permission. if click “delete” icon, null is showing in the alert
2022-11-28 10:27 DenisChenu Relationship added related to 18512
2026-10-09 15:44 c_schmitz Changeset attached => LimeSurvey master b22c610a
2026-10-09 15:44 c_schmitz Note Added: 86277
2026-10-09 15:44 c_schmitz Assigned To => c_schmitz
2026-10-09 15:44 c_schmitz Status new => resolved
2026-10-09 15:44 c_schmitz Resolution open => fixed
2026-10-09 15:44 c_schmitz Bug heat 0 => 2