View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20117Bug reportsRemoteControlpublic2025-06-23 21:58
ReporterDenisChenu Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status ready for testingResolutionopen 
Summary20117: Better error return in get_site_settings
Description

When user didn't have access to Global settings and ask for a specific setting get Invalid setting in status. Must be 'No permisson"

Steps To Reproduce

Steps to reproduce

See https://github.com/edgarrmondragon/citric/issues/1377

Expected result

return
{"status":"No permission"}

Or You are not allowed to read the site settings

Actual result

return
{"status":"Invalid setting"}

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.14.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

Users monitoring this issue

chimp358

Activities

tibor.pacalat

tibor.pacalat

2025-05-23 13:28

administrator   ~82741

Confirmed, please fix it :)

DenisChenu

DenisChenu

2025-05-23 16:51

developer   ~82751

You are not allowed to read the site settings or No permission ? Unsure here

tibor.pacalat

tibor.pacalat

2025-05-26 15:24

administrator   ~82763

I think for every situation where user is missing permissions, we should use the same wording.
It should be "No permission".

DenisChenu

DenisChenu

2025-06-23 17:52

developer   ~82932

https://github.com/LimeSurvey/LimeSurvey/pull/4330

Issue History

Date Modified Username Field Change
2025-05-22 11:58 DenisChenu New Issue
2025-05-22 17:32 chimp358 Issue Monitored: chimp358
2025-05-22 17:32 chimp358 Bug heat 0 => 2
2025-05-23 13:28 tibor.pacalat Note Added: 82741
2025-05-23 13:28 tibor.pacalat Bug heat 2 => 4
2025-05-23 13:29 tibor.pacalat Assigned To => DenisChenu
2025-05-23 13:29 tibor.pacalat Status new => assigned
2025-05-23 16:51 DenisChenu Note Added: 82751
2025-05-23 16:51 DenisChenu Bug heat 4 => 6
2025-05-26 15:24 tibor.pacalat Note Added: 82763
2025-06-23 17:51 DenisChenu Assigned To DenisChenu => gabrieljenik
2025-06-23 17:51 DenisChenu Status assigned => ready for code review
2025-06-23 17:52 DenisChenu Note Added: 82932
2025-06-23 21:58 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2025-06-23 21:58 gabrieljenik Status ready for code review => ready for testing