View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18512Bug reportsCentral participant databasepublic2026-10-09 15:47
ReporterShiXiong Assigned Toc_schmitz  
PrioritynoneSeveritytweak 
Status resolvedResolutionfixed 
Product Version5.4.x 
Summary18512: CPDB user with “view/read“ only permission. if click “Add participant“, the participant is not created, and null is showing
Description

a new user “view/read“ only permission, if click "delete", null is showing in the alert.

Steps To Reproduce

Steps to reproduce

  1. create a new user with only "view/read" permission.
  2. after logout, login with the new user
  3. click “Add participant“

Expected result

the button should not be shown.

(Write here what you expected to happen)

Actual result

the button is shown and if click that, null is showing in the alert

(Write here what happened instead)

TagsNo tags attached.
Attached Files
image-20221121-082713.png (68,178 bytes)   
image-20221121-082713.png (68,178 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)demo
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionmysql
Server OS (if known)
Webserver software & version (if known)
PHP Version8.0

Relationships

related to 18511 resolvedc_schmitz CPDB : user wis “create” only permission. if click “delete” icon, null is showing in the alert 
related to 18513 resolvedc_schmitz CPDB : user with “import“, “export“ only permission. configuration tab is not visible 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-11-28 10:27

developer   ~72906

Seems whole CPDB permission system can be reviewed here.

Mazi

Mazi

2023-05-03 11:13

updater   ~74771

@DenisChenu -> yes, we also noticed various issues when starting to work with CPDB for a new customer using LS 5.x, see e.g. https://bugs.limesurvey.org/view.php?id=18799.

c_schmitz

c_schmitz

2026-10-09 15:47

administrator   ~86278

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

Related Changesets

LimeSurvey: master 9b37d506

2026-10-09 15:47

c_schmitz


Details Diff
Fixed issue 18512: Users without permission to create central participants were offered "Add participant", which only showed "null" Affected Issues
18512
mod - application/controllers/admin/ParticipantsAction.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 10:16 ShiXiong New Issue
2022-11-28 10:16 ShiXiong File Added: image-20221121-082713.png
2022-11-28 10:26 DenisChenu Summary when the user has “view/read“ only permission. if click “Add participant“, the participant is not created, and null is showing => CPDB user with “view/read“ only permission. if click “Add participant“, the participant is not created, and null is showing
2022-11-28 10:27 DenisChenu Relationship added related to 18511
2022-11-28 10:27 DenisChenu Relationship added related to 18513
2022-11-28 10:27 DenisChenu Note Added: 72906
2022-11-28 10:27 DenisChenu Bug heat 0 => 2
2023-05-03 11:13 Mazi Note Added: 74771
2023-05-03 11:13 Mazi Bug heat 2 => 4
2023-07-07 22:35 gabrieljenik Status new => acknowledged
2023-07-07 22:35 gabrieljenik Bug heat 4 => 6
2023-07-07 22:35 gabrieljenik Bug heat 6 => 4
2023-07-27 21:40 gabrieljenik Status acknowledged => confirmed
2026-10-09 15:47 c_schmitz Changeset attached => LimeSurvey master 9b37d506
2026-10-09 15:47 c_schmitz Note Added: 86278
2026-10-09 15:47 c_schmitz Assigned To => c_schmitz
2026-10-09 15:47 c_schmitz Status confirmed => resolved
2026-10-09 15:47 c_schmitz Resolution open => fixed
2026-10-09 15:47 c_schmitz Bug heat 4 => 6