View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20042 | Bug reports | RemoteControl | public | 2025-04-02 09:37 | 2025-07-25 15:22 |
Reporter | SESSOU | Assigned To | gabrieljenik | ||
Priority | none | Severity | minor | ||
Status | assigned | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 20042: list_users command returns wrong permissions (roles permissions are not taken into account). | ||||
Description | Using list_users remote control command returns wrong informations about permissions (roles permissions are not taken into account). | ||||
Steps To Reproduce | 1- Create a 'Limited User' role, whose only 2 permissions are LDAP authentication (auth_ldap) and read permission on all questionnaires (surveys). Part of the permissions returned by the current list_users command : Part of the permissions expected (taking into account the role permissions) : [permissions] => Array Conclusion : the role(s) permissions are not take into account !!! | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 6.12.3+250331 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Not relevant | ||||
Database type & version | Postgresql 15.12 | ||||
Server OS (if known) | Debian 12 | ||||
Webserver software & version (if known) | Apache 2.4.62 | ||||
PHP Version | PHP 8.2 | ||||
The permissions returned by the RC match the ones in the screenshot? From what you say, I believe the problem:
Look forward to your comments. |
|
Bug identified:
Whatever the screen shows, we should be returning it on the RC. Problem is that the logic for returning effective permissions is not easy to replicate on queries. If someone is having permissions via role-mode, we can return the roles associated (and empty permissions). Thoughts? |
|
Hi Gabriel, Yes ... It would be nice ... Thank you for your help Cordially. Olivier L. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-02 09:37 | SESSOU | New Issue | |
2025-04-02 09:37 | SESSOU | File Added: Capture d’écran 2025-04-01 à 11.38.18.png | |
2025-05-14 18:23 | chimp358 | Issue Monitored: chimp358 | |
2025-05-14 18:23 | chimp358 | Bug heat | 0 => 2 |
2025-07-16 15:48 | tibor.pacalat | Assigned To | => gabrieljenik |
2025-07-16 15:48 | tibor.pacalat | Status | new => assigned |
2025-07-18 23:01 | gabrieljenik | Note Added: 83109 | |
2025-07-18 23:01 | gabrieljenik | Bug heat | 2 => 4 |
2025-07-22 15:46 | gabrieljenik | Note Added: 83122 | |
2025-07-25 15:22 | SESSOU | Note Added: 83145 | |
2025-07-25 15:22 | SESSOU | Bug heat | 4 => 6 |