Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Survey groups permission concept?

  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 6 months ago #220837 by jelo
Survey groups permission concept? was created by jelo
Is it possible to assign users/usergroups to certain survey groups to hide survey from certain users?

The GUI seams to allow that, but at least under LS 5.1.15 a test user sees all survey, even when no being assigned to the surveygroup.

 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220847 by DenisChenu
Replied by DenisChenu on topic Survey groups permission concept?
A surveys group can SHOW some survey, but not hide.

He can add rights only.

Can you give more detail on the user right ?

To see a survey a user can have
- All survey read right
OR
- Surveys in group read right
OR
- Survey read right

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 6 months ago #220941 by jelo
Replied by jelo on topic Survey groups permission concept?

A surveys group can SHOW some survey, but not hide.
 
Interesting, sounds like I just have the wrong expectation.

Users listed here can see groups in lists, and view group descriptions & settings. This is the minimal permission - you have to use the delete action to remove this permission.This survey group is shown for users with any permission on the survey group, user with any permission on one survey inside this group, or if this group was configured to be available.


The separation of user/usergroup permission settings and surveygroups permission settings seem to add confusion.
Currently the surveygroups are a way to filter a long survey list.

Is it possible to have surveys in a certain surveygroup only shown to certain users/usergroups in LS5?
If not, what is the purpose of the permission settings at all?
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220951 by DenisChenu
Replied by DenisChenu on topic Survey groups permission concept?
usersgroup are only a shortcut in Permission management to select all user of group.
Then : i never talk of usersgroup

> Is it possible to have surveys in a certain surveygroup only shown to certain users/usergroups in LS5?

manual.limesurvey.org/Survey_group_permi...surveys_inside_group

«Permission to access surveys in this group. To see a survey in the list the read/view permission must be given.»
 

> If not, what is the purpose of the permission settings at all?

It's one of the purpose …  i don't understand your questions since all answers are alreay in manual.
If it's unclear : please correct manual.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 6 months ago #220962 by jelo
Replied by jelo on topic Survey groups permission concept?

i don't understand your questions since all answers are alreay in manual.
If it's unclear : please correct manual.
 

My post was about if I'm too dumb to get the settings right or I don't get the purpose of the permission assignment.
Or if it is just a function nobody is using and might be broken.

If I add a user/usergroup to a certain surveygroup I would expect that every other user/usergroup NOT assigned to that surveygroup cannot see/view this survey in the backend.
The manual page seems not to contradict that expectation.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago - 2 years 6 months ago #220975 by DenisChenu
Replied by DenisChenu on topic Survey groups permission concept?

 The manual page seems not to contradict that expectation.

Maybe because ALL system in LimeSurvey never remove a right.

If User A see Survey in This group : user A have a right on this survey

It can be Global right or Single Survey right in LimeSurvey 3.X ( 2 way to get right)
It can be Global right, Survey right OR SurveysGroup rights in LimeSurvey 3.X

Please : check how tghis usezr can see this survey : if right didn't come form Surveys group : it comes from Global or Survey.

> Can you give more detail on the user right ?

This question still valid : what is the global right of this user + survey right of this user.

PS : The Survey right must be adapated too. manual.limesurvey.org/Survey_permissions
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 2 years 6 months ago by DenisChenu. Reason: https://manual.limesurvey.org/Survey_permissions link
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220980 by DenisChenu
Replied by DenisChenu on topic Survey groups permission concept?

If I add a user/usergroup to a certain surveygroup I would expect that every other user/usergroup NOT assigned to that surveygroup cannot see/view this survey in the backend.
The manual page seems not to contradict that expectation.
 
Because IT'S the case (except if user have Global surveys right management).
I just check again

1. Create TEST user
2. Create Group1 and Group2
3. Create SurveyG1 and put it in Group1
4. Create SurveyG2 and put it in Group2
5. Give all surveys right to TEST user in Group1
6. Login as test user : see only SurveyG1

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
2 years 6 months ago #220982 by jelo
Replied by jelo on topic Survey groups permission concept?

Maybe because ALL system in LimeSurvey never remove a right.
This question still valid : what is the global right of this user + survey right of this user.
 
Thanks, then it will be the global permissions which are usually set in small setups. They need to be removed to let survey group permissions shine. That seems to work in LS5.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 6 months ago #220985 by DenisChenu
Replied by DenisChenu on topic Survey groups permission concept?
I check : if user have ALL survey right set : the indeterminate is show

See issue bugs.limesurvey.org/view.php?id=14558

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose