View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20117Bug reportsRemoteControlpublic2025-05-26 15:24
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
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".

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