- Posts: 13
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Some users are scrambling javascript snippets and we don't know why
- nonformality
- Topic Author
- Offline
- Platinum Donor
Less
More
10 months 1 week ago - 10 months 1 week ago #244191
by nonformality
Some users are scrambling javascript snippets and we don't know why was created by nonformality
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.1.3-230612
Own server or LimeSurvey hosting: Own server
Survey theme/template: Fruity
==================
We are using Javascript in some of our questions (specifically to keep the item “none of the above” in last place, while everything else rotates randomly). The script works fine, and when a superuser or admin edits these questions, everything remains as it should. If a user with more restricted rights edits these questions, the javascript gets scrumbled – even if they do not touch it.
I had these users switch to vanilla browsers with no plugins or extensions installed, but it keeps happening. My current suspicion is that it might be a rights question, but there is no obvious rights group related to this. Maybe the right to handle plugins?
Any educated guesses are very welcome And, of course, if anyone knows, I will not complain either.
Below the rights as the users have them now that this keeps happening to (there are four with identical rights, happens to all four):
Your LimeSurvey version: 6.1.3-230612
Own server or LimeSurvey hosting: Own server
Survey theme/template: Fruity
==================
We are using Javascript in some of our questions (specifically to keep the item “none of the above” in last place, while everything else rotates randomly). The script works fine, and when a superuser or admin edits these questions, everything remains as it should. If a user with more restricted rights edits these questions, the javascript gets scrumbled – even if they do not touch it.
I had these users switch to vanilla browsers with no plugins or extensions installed, but it keeps happening. My current suspicion is that it might be a rights question, but there is no obvious rights group related to this. Maybe the right to handle plugins?
Any educated guesses are very welcome And, of course, if anyone knows, I will not complain either.
Below the rights as the users have them now that this keeps happening to (there are four with identical rights, happens to all four):
Last edit: 10 months 1 week ago by nonformality.
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
10 months 1 week ago #244193
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Some users are scrambling javascript snippets and we don't know why
LimeSurvey filters the JavaScript.
It depends on the settings. These settings are not applied to superadmins. That explains why only certain users remove JavaScripts when editing the surveys.
manual.limesurvey.org/Global_settings#Security
It depends on the settings. These settings are not applied to superadmins. That explains why only certain users remove JavaScripts when editing the surveys.
manual.limesurvey.org/Global_settings#Security
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: nonformality
Please Log in to join the conversation.
- nonformality
- Topic Author
- Offline
- Platinum Donor
Less
More
- Posts: 13
- Thank you received: 1
10 months 1 week ago #244194
by nonformality
Replied by nonformality on topic Some users are scrambling javascript snippets and we don't know why
Oooohhhh of course! Soooo obvious, oh my
Please Log in to join the conversation.