Welcome to the LimeSurvey Community Forum

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

Permission per question

  • anicolay
  • anicolay's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #211630 by anicolay
Permission per question was created by anicolay
Hi all,

I was wondering if it is possible to grant specific access on a question / question group to a user /user group.

If I'm not clear, let say my survey have 25 questions, applicable for all users, but some users (identified because they are part of a group) also need to reply to a bunch of additional questions.
Can I grant those kind of access?

Thanks in advance,
Arnaud
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago - 3 years 2 months ago #211631 by Joffm
Replied by Joffm on topic Permission per question
How do you identify these users?
In a token based survey, then you'd add an additional attribute like "group" to the participant table 
and show/hide these questions according to the attribute
Relevance equation for example:
TOKEN:ATTRIBUTE_1==1
TOKEN:ATTRIBUTE_1==2

Or is it an open survey? Then you identify this group of user by a special question.
Well, the same; relevance equation usoing this question.
Joffm​​​​

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 2 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
3 years 2 months ago #212360 by GregorioBori
Replied by GregorioBori on topic Permission per question
Dear Joffm, I have tried to use this relevance equation:

TOKEN:LASTNAME=='name'

but if the condition is not met, then the whole survey does not appear. Furthermore, this seems to happen only for questions of "Text Display" type. Do you know how I may solve this problem?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #212365 by Joffm
Replied by Joffm on topic Permission per question
Hi,
I do not see any issue.
With
 

I get either this if the name is "abcd"
 

or this with other names
 

So, if you have a closed survey with tokens and the issue is still there
you should send the lss export

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose