View Issue Details

IDProjectCategoryView StatusLast Update
16958Bug reportsUser / Groups / Rolespublic2021-01-12 20:07
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.3.33 
Summary16958: User with roles can not have more rights …
Description

If you set an user with a roles : this user can not have more right

Steps To Reproduce

Create an user
Create a role : set Label sets to ON (for example)
Try to give more right to user : sghow OK
Edit Permission : permission is not set

Additional Information

https://github.com/LimeSurvey/LimeSurvey/blob/68ce18e22194171e1c56c27f36ad7ce5b34adc8a/application/models/Permission.php#L504 issue : return false

And more : test is stupid ! totally stupid : why check ALL roles permission if you need only one … permission : just check if this role have this permission …

TagsNo tags attached.
Complete LimeSurvey version number (& build)4.3.32
I will donate to the project if issue is resolvedNo
Sync to Zoho Project
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

DenisChenu

DenisChenu

2021-01-08 09:58

developer  

Peek 08-01-2021 09-48.gif (1,584,891 bytes)
DenisChenu

DenisChenu

2021-01-08 10:02

developer   ~61459

Lol : remove login permission …

This feature are really tested ?

This feature must be moved to a core plugin or extension …

Peek 08-01-2021 10-01.gif (788,209 bytes)

Issue History

Date Modified Username Field Change
2021-01-08 09:58 DenisChenu New Issue
2021-01-08 09:58 DenisChenu File Added: Capture d’écran du 2021-01-08 09-44-37.png
2021-01-08 09:58 DenisChenu File Added: Peek 08-01-2021 09-48.gif
2021-01-08 10:02 DenisChenu Note Added: 61459
2021-01-08 10:02 DenisChenu File Added: Peek 08-01-2021 10-01.gif
2021-01-12 20:07 DenisChenu Summary User with roles can npot have more rights … => User with roles can not have more rights …