View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18468 | Bug reports | User / Groups / Roles | public | 2022-11-08 12:23 | 2023-08-07 20:35 |
Reporter | Mazi | Assigned To | ollehar | ||
Priority | high | Severity | block | ||
Status | feedback | Resolution | open | ||
Product Version | 5.4.x | ||||
Summary | 18468: User with rights to view other users can not see them at the survey permission screen | ||||
Description | A user with the global right to see other users is not presented any user when trying to assign survey permissions to others. The dropdown is simply blank. Only when changing Global Settings -> Security -> "Users can see users from own group only" to NO, the user drop down is showing entries even though there are other users within the same user group. | ||||
Steps To Reproduce | Steps to reproduceCreate a new admin user with only the right to create surveys and view users. Expected resultSee other users which exist at the same (default) user group within the dropdown. Actual resultNo users are present within the dropdown. | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 5.4.9 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MariaDB 10.1.48 | ||||
Server OS (if known) | Ubuntu 20 | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 8.1 | ||||
@DenisChenu Is this related to 18468 ? |
|
Added missing setting details. |
|
same number issue , then yes 18468 is related to 18468 :) Else : it's an old issue here. User list are really complex … @Mazi : you have a old 2.6lts to check how it work ? Maybe a 2.50 too ? And in 3.X ? Update to set as a better behaviour are dangerous . Before 2.00 (or maybe in 2.05 too) : view survey didn't allow to view ALL survey. |
|
Got it : https://bugs.limesurvey.org/view.php?id=9571 And see comment : https://bugs.limesurvey.org/view.php?id=9571#c31846 At this date : there are a lot of Forum user complaining about new situation |
|
@DeniChenu, at version 2.6.7 the "Users can see users from own group only" does NOT have to be changed. It behaves different. There is no such bug. |
|
3.X have the issue ? |
|
@DenisChenu, just test ;-) I can confirm that this is NOT an issue at LS 3.x. |
|
Then i think we must back to 3.X system :) |
|
About expected result : Users can see users from own group only to Yes Users can see users from own group only to No @gabrieljenik : seems totally related to the withListRight scope ;) |
|
Sorry, meant #18356 |
|
I don't think :l pother are related to role. |
|
But now this is related to user listing, not survey listing. Want to take this? |
|
Yes , i think it can be more clear
I want to have clear decision about expected result … with and without "Users can see users from own group only" option. |
|
Can we assign this to a developer? For some larger institutions this turns out to be a show stopper. |
|
Maybe a complete User permission system is needed ? |
|
@DenisChenu, I do not think that for fixing this bug we need a completely new user permission system. That would be a little too much. It is a simple bug, the settings doesn't seem to be taken into account. |
|
Hi @Mazy, We have been trying to reproduce this and couldn't. Can you please try to reproduce / clarify?
What do you mean by "default"?
Are you including the user in a group? |
|
Must confirm this behavior https://bugs.limesurvey.org/view.php?id=18468#c73031 (and maybe add it to manual) |
|
What do you mean? A permission? |
|
Sorry : User have Permission read at user on Global I update |
|
I think the problem here lies on this expectation Does this clarifies or makes more sense @Mazi? |
|
Thing is that by default, 90% of users are not in a user group. Simply because most users do not use user groups. So question is: Should we have/add a default user group? To the common user not seeing any other users though having been assigned the permission to see them is confusing. |
|
So your expectation is:
Isn't that a security concern? Isn't that too broad of a situation where lot of unexpected stuff could happen? If someone should see users, he should have "read" permission at global level, right? |
|
@gabrieljenik, by default users need view permissions to see others. And yes, I think they should see all other users. If this is not intended, then one should not assign the view permissions which is not set by default anyway. But if it is set, the user should see others. Otherwise it makes no sense. |
|
We are talkig about the following, right? Scenario:
Scenario:
What do you think? Not sure about what should happen on this scenario:
|
|
@gabrieljenik: The first scenarios look correct to me. I still think it is the VIEW permission though, not READ, but we may mean the same thing. As for the last scenario: If there are no permissions to view users at global level, then they should never see any other users. |
|
Scenario:
I agree with you. Ok, I will review and update :) |
|
In current 3.X (LOL) seem Group member can only see own group: is used ONLY for user dropdown. User with read all Users + "User can see users from own group only": to YES
Then : seems OK to allow user with Read all user permission to see ALL user in dropdown too. No new secret appear. Maybe add a comment on manual (or in Group member can only see own group settings ) Scenario Current
Move to Users can see users from own group only to Yes
|
|
Please find below a summary. If you are OK, we will fix the situations highlighted in yellow Also, we would change the label of the setting from "Group member can only see own group" to "Group member can see users from own group?". Thoughts? |
|
Looking at your summary : user without Read right permission see all users currently ? It's a terrible issue … The expected part is for Permission dropdown ?
:+1: |
|
Yes, the element inspected is the user dropdown list on the assign survey permission screen. |
|
Yes : same list used for owner update etc … i think
Currently : Survey and SurveyGroup use same code. |
|
I was referring that we should check not only for building the dropdown list, but also when processing the permission assignment operation. |
|
Oh , yes : when GIVE persmision : check if user is allowed to see user. This part are more complex … |
|
PR has some failing tests. |
|
I have tested this, but I am not sure if there are still some changes required on the PR or not @ollehar. |
|
There are an issue with new implementation, we loose an ability Before
If a superadmin want user didn't see other user (except with user/read permission) : he can just activate "user group" system. If he want users can give permission to all other users : he don't set this. : we loose this part. then i think we need an option to get this possibility. And about user/read permission : in 3.X User see only email of own groups : we loose too this option. I think we need a new option too to limit access to UserView by group |
|
I should take some time to review and understand a bit more your comment.
I don't understand this.
I don't understand this. Can you provide an example?
Not sure I full y understand, but from I am getting, I believe we didn't loose it but made it straight. |
|
An user without any user permission
Today (without Group member can only see own group)
Tomorrow, to allow this you must give
You broke one GDPR criteria : https://en.wikipedia.org/wiki/General_Data_Protection_Regulation |
|
And lost, with "Group member can only see own group" ro ON User#1 have global permission User/read user#1 can check email and login of User#2, but have npo access of User#3 email address. |
|
I mean : there are a difference between
|
|
I will need to review all the situations you gave. Still, the table reviewed on 2023-05-23, holds? or need to updated? |
|
I don't know … ping @ollehar @Mazi @c_schmitz The real upset line is the 3rd line in the screen User read all User Permission + "Group member can only see own group" to ON
|
|
Well, in curren situation, as he has read permissin to all usuers, he can go to user permissions and see all users, right? Als, recall there was a problem in the wording of that setting:
I understand you were OK with that. |
|
Status reads "Ready for testing". Is there a PR? Discussion status? |
|
https://bugs.limesurvey.org/view.php?id=18468#c75236 Discussion status? Probably these: |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-08 12:23 | Mazi | New Issue | |
2022-11-08 16:10 | ollehar | Priority | none => high |
2022-11-09 14:39 | gabrieljenik | Status | new => acknowledged |
2022-11-10 14:21 | gabrieljenik | Status | acknowledged => confirmed |
2022-12-07 19:50 | gabrieljenik | Note Added: 73020 | |
2022-12-07 19:50 | gabrieljenik | Bug heat | 0 => 2 |
2022-12-07 23:35 | Mazi | Description Updated | |
2022-12-07 23:35 | Mazi | Note Added: 73021 | |
2022-12-07 23:35 | Mazi | Bug heat | 2 => 4 |
2022-12-08 09:19 | DenisChenu | Note Added: 73024 | |
2022-12-08 09:19 | DenisChenu | Bug heat | 4 => 6 |
2022-12-08 09:26 | DenisChenu | Note Added: 73026 | |
2022-12-08 09:28 | Mazi | Note Added: 73027 | |
2022-12-08 09:42 | DenisChenu | Note Added: 73028 | |
2022-12-08 09:46 | Mazi | Note Added: 73029 | |
2022-12-08 09:49 | DenisChenu | Note Added: 73030 | |
2022-12-08 09:53 | DenisChenu | Note Added: 73031 | |
2022-12-08 09:54 | DenisChenu | Note Edited: 73031 | |
2022-12-08 13:03 | gabrieljenik | Note Added: 73034 | |
2022-12-08 14:14 | DenisChenu | Note Added: 73037 | |
2022-12-15 17:34 | gabrieljenik | Note Added: 73147 | |
2022-12-15 17:46 | DenisChenu | Note Added: 73151 | |
2022-12-15 17:46 | DenisChenu | Note Edited: 73151 | |
2023-04-11 10:46 | Mazi | Note Added: 74451 | |
2023-04-11 11:09 | DenisChenu | Note Added: 74454 | |
2023-04-11 12:22 | Mazi | Note Added: 74458 | |
2023-05-09 18:45 | gabrieljenik | Note Added: 74901 | |
2023-05-09 18:46 | gabrieljenik | Assigned To | => gabrieljenik |
2023-05-09 18:46 | gabrieljenik | Status | confirmed => feedback |
2023-05-09 19:37 | DenisChenu | Note Added: 74903 | |
2023-05-15 18:36 | gabrieljenik | Note Added: 74992 | |
2023-05-15 18:50 | DenisChenu | Note Added: 74996 | |
2023-05-15 18:52 | DenisChenu | Note Edited: 73031 | |
2023-05-17 23:21 | gabrieljenik | Note Added: 75051 | |
2023-05-18 00:22 | Mazi | Note Added: 75071 | |
2023-05-18 00:22 | Mazi | Status | feedback => assigned |
2023-05-18 14:47 | gabrieljenik | Note Added: 75075 | |
2023-05-21 20:00 | Mazi | Note Added: 75125 | |
2023-05-22 14:50 | gabrieljenik | Note Added: 75137 | |
2023-05-22 19:14 | Mazi | Note Added: 75144 | |
2023-05-22 20:54 | gabrieljenik | Note Added: 75145 | |
2023-05-23 15:26 | DenisChenu | Note Added: 75159 | |
2023-05-23 15:29 | DenisChenu | Note Edited: 75159 | |
2023-05-23 17:09 | gabrieljenik | Note Edited: 75137 | |
2023-05-23 17:17 | gabrieljenik | Note Added: 75188 | |
2023-05-23 17:17 | gabrieljenik | File Added: image.png | |
2023-05-23 17:18 | gabrieljenik | Note Edited: 75188 | |
2023-05-23 17:40 | DenisChenu | Note Added: 75190 | |
2023-05-23 17:52 | gabrieljenik | Note Added: 75192 | |
2023-05-23 18:05 | DenisChenu | Note Added: 75195 | |
2023-05-23 18:12 | gabrieljenik | Note Added: 75196 | |
2023-05-23 18:37 | DenisChenu | Note Added: 75200 | |
2023-05-26 16:34 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2023-05-26 16:34 | gabrieljenik | Status | assigned => ready for code review |
2023-05-26 16:34 | gabrieljenik | Note Added: 75236 | |
2023-05-26 19:05 | DenisChenu | Assigned To | DenisChenu => |
2023-05-26 19:05 | DenisChenu | Status | ready for code review => ready for testing |
2023-05-26 20:10 | gabrieljenik | Issue cloned: 18842 | |
2023-06-09 16:53 | tibor.pacalat | Note Added: 75533 | |
2023-06-09 16:53 | tibor.pacalat | Bug heat | 6 => 8 |
2023-06-12 14:46 | gabrieljenik | Issue cloned: 18875 | |
2023-06-14 17:28 | tibor.pacalat | Note Added: 75635 | |
2023-06-14 19:11 | DenisChenu | Note Added: 75638 | |
2023-06-15 14:59 | gabrieljenik | Note Added: 75642 | |
2023-06-15 15:36 | DenisChenu | Note Added: 75644 | |
2023-06-15 15:37 | DenisChenu | Note Edited: 75644 | |
2023-06-15 15:39 | DenisChenu | Note Added: 75645 | |
2023-06-15 15:40 | DenisChenu | Note Added: 75646 | |
2023-06-15 18:47 | gabrieljenik | Note Added: 75648 | |
2023-06-15 18:57 | DenisChenu | Note Added: 75649 | |
2023-06-15 18:57 | DenisChenu | Note Edited: 75649 | |
2023-06-15 21:06 | gabrieljenik | Note Added: 75650 | |
2023-08-07 15:01 | ollehar | Note Added: 76458 | |
2023-08-07 15:01 | ollehar | Bug heat | 8 => 10 |
2023-08-07 15:01 | ollehar | Assigned To | => ollehar |
2023-08-07 15:01 | ollehar | Status | ready for testing => feedback |
2023-08-07 20:35 | gabrieljenik | Note Added: 76467 |