Actions

Manage users/nl: Difference between revisions

From LimeSurvey Manual

No edit summary
(Updating to match new version of source page)
Line 4: Line 4:
= Gebruikersbeheer =
= Gebruikersbeheer =


Met gebruikersbeheer kunt u extra beheerders toevoegen. In dit hoofdstuk noemen we ze gewoon 'gebruikers'. Verwar ze niet met  [[Survey_participants/nl|deelnemers aan de enquête]].
The user management tool allows you to add additional administration users to LimeSurvey. We will call them in this chapter just 'users'. Do not confuse them with [[Survey participants|survey participants]] (respondents).


==Aanmaken van gebruikers==
==Aanmaken van gebruikers==


Open het gebruikersbeheer om een nieuwe gebruiker toe te voegen ('''Configuratie''' -> '''Gebruikersbeheer''').  
To create a new user, open the user management dialog by clicking on '''Configuration''' (located on the main LimeSurvey toolbar) -> '''Manage survey administrators''' as shown below.


[[File:LimeSurveyBenuzerVerwaltung.jpg]]
<center>[[File:LimeSurveyBenuzerVerwaltung.jpg]]</center>


[[File:LimeSurveyAddUser.jpg]]
Then, click on '''Add user''' located on the upper right part of '''User control''' table. A window will show up, asking you to:
* Vul de gewenste gebruikersnaam in, in het eerste veld van '''Nieuwe gebruiker'''.
* Vul in het veld ernaast het e-mailadres in. Als je de gebruiker geen bevestiging wilt sturen, moet je hier je eigen adres invoeren. Na bevestiging kun je het adres van de gebruiker invullen.
** LimeSurvey stuurt altijd een bevestiging per e-mail. Dit adres wordt ook gebruikt als contactadres voor enquêtes die door deze gebruiker aangemaakt worden.
* Vul de volledige naam van de gebruiker in het derde veld van '''Nieuwe gebruiker'''. Dit is de volledige naam die getoond wordt bij de contactpersoon.
* Klik op de knop '''Gebruiker toevoegen'''.


De gebruiker is nu aangemaakt. Daarna zul je de rechten willen instellen, daarover later meer.
* Enter the desired username into the '''Username''' text field.
* Enter the email address into the '''Email''' text field. Please note that:
** LimeSurvey sends out a confirmation email to the address entered into the '''Email''' field. This email address will be used as the standard contact email address for surveys created by the respective user.
** If you don't want the user to receive the confirmation email with a link to the LimeSurvey installation, username, and password, you can use your own email address to send the confirmation email to you. You can change after that the email address to the address of the user;
* Enter user's full name into the '''Full name''' text field. Please note that the full name entered here will be used as the standard contact person name for surveys created by the respective user.
* Click '''Save''' to create the new user.


==Wijzigen van gebruikers==
<center>[[File:LimeSurveyAddUser.jpg]]</center>


Gebruik het pen-symbool om een gebruiker te wijzigen.
You have now created your first user. To find out more about [[Manage users#Set global permissions for a user|setting user permissions]], please continue reading further.


[[File:LimeSurveyBleistiftSymbol.jpg]]
<center>[[File:LimeSurveyBleistiftSymbol.jpg]]</center>


Daarna kun je e-mailadres, naam en wachtwoord wijzigen. Om de wijziging(en) op te slaan klik op '''Bewaar'''.
As you can see below, there are four options under the '''Action''' column that allow you to:


==Verwijderen van gebruikers==
<center>[[File:Edit users.png]]</center>
*edit the general aspects of a user - by clicking the pen symbol;
*delete the user from the survey administrators database - by clicking the trash button;
*set global permissions for a user - click the lock symbol;
*set template permissions for a user - click the pen-and-lock symbol.


Gebruik het verwijder-icoon in dezelfde regel om een gebruiker te verwijderen, en bevestig de verwijdering met '''OK'''.
==Edit user==


=Globale rechten=
You can use the pen symbol to edit a user.


Globale rechten gelden voor iedereen en voor alle enquêtes. Gebruik '''Enquête rechten''' om de rechten voor een specifieke enquête in te stellen.
You can set a new email address, full name, and even change his or her password. If you have finished what you want to do, click on the '''Save''' button (right upper part of the window).


==Globale rechten van een gebruiker instellen==
==Delete user==  


Klik op het slot-symbool om de rechten van een gebruiker in te stellen.
To delete a user account, simply click on his or her corresponding trash button (located on the same line with the user account you want to delete) and click '''OK'''.


[[File:User_global_permission.png]]
==Set global permissions for a user==


[[File:User_global_permission_complete.png]]
{{Alert|Global permissions apply to the whole LimeSurvey installation. If you want to set permissions only for a specific survey you can use the [[Manage users#Setting permissions for a single survey|survey permissions settings]].}}


{{FeatureChange/nl|v=2.05}}
To set global permissions for a user, click on the lock symbol.


Het systeem gebruikt CRUD (Create, read, update en delete) net als de enquête-instellingen. Controleer de eerste invoer en de hele regel, je kunt minder of meerdere rechten voor elk systeem instellen. Je kunt het overzicht beter lezen als je het overzicht uitbreidt met de pijlknop boven de kolom met de checkbox.
<center>[[File:User_global_permission.png]]</center>


Nu kun je de volgende rechten instellen:
The CRUD (Create, read, update, and delete) system is employed (like in the [[Manage users#Setting permissions for a single survey|survey permission settings]]). To fine-tune user permissions, we strongly recommend to extend the matrix using the double-right arrowhead, which is located in its upper right corner. If you check the first box, all the CRUD permissions situated on that row are automatically checked.


* '''Hoofdbeheerder''': geeft de gebruiker alle rechten binnen LimeSurvey. Alleen in te stellen door de gebruiker genaamd '''admin'''. '''Bedenk:''' dit is erg gevaarlijk, en je moet dus voorzichtig zijn om dit recht toe te kennen.
<center>[[File:User_global_permission_complete.png]]</center>


* '''Enquête''': geeft de gebruiker het recht om een enquête te maken, te activeren en de deactiveren. De aanmaker van de enquête is de eigenaar.  Elke enquête kan eigen rechten hebben.
You can now add or remove the following permissions:


* '''Instellingen & Plugins''': Met dit recht kan een gebruiker de integriteit van gegevens controleren, de SQL-database exporteren naar een sql-bestand en de php-info in de algemene instellingen bekijken. Hierdoor worden ook de plug-ins beheerd.
* '''Participant panel''': For more details, continue reading about the [[Central participants database|central participants database here]].


* '''Gebruikers''': geeft de gebruiker het recht om eigen gebruikers aan te maken, te wijzigen, te verwijderen en maximaal zijn eigen rechten te geven. Andere rechten kunnen alleen door een '''Hoofdbeheerder''' ingesteld worden.
* '''Label sets''': Permission to create, view, update, delete, export, and import label sets. The label sets don't have specific permissions (unlike design templates).
 
* '''Settings & Plugins''': With this permission a user can check data integrity, save the SQL database to an .sql file, manage global setting, view the PHP info in the global settings, and manage all plugins.
 
* '''Surveys''': This gives access to all surveys. To allow a user only to create and manage their own survey survey, only give the user the 'create' permission. A creator of a survey is the owner of the survey and will always be able to manage it. Remember that each survey can grant to users different permissions.
{{Note|'''The global permission is applied before the survey-specific permission!'''}}
 
* '''Templates''': It allows the user to use all the available design templates and edit all non-standard templates. A person with this right should have sufficient knowledge in terms of HTML, Javascript, and CSS. If a user is not familiar with these things and is supposed to use a specific design template, it would be better to give him only access to 'read' permission. Each template can have specific permissions.


* '''Gebruikersgroepen: Het recht van een gebruiker om gebruikersgroepen aan te maken, te bekijken, te wijzigen en te verwijderen.'''
* '''Gebruikersgroepen: Het recht van een gebruiker om gebruikersgroepen aan te maken, te bekijken, te wijzigen en te verwijderen.'''


* '''Sjablonen''': geeft de gebruiker rechten om de niet-standaardsjablonen te beheren. Deze gebruiker moet voldoende kennis van HTML/PHP, JavaScript en CSS hebben. Mocht dit niet het geval zijn, stel dan liever de sjabloonrechten in op alleen lezen. Elk sjabloon kan eigen rechten hebben.
* '''Users''': A user can create, modify, and delete his own administration users with this permission. The newly created users cannot have higher permissions than the parent user. You will also not be able to edit users owned by other administration users. If this has to be done, then a Superadministrator permission has to be granted.


* '''Beheer labels''': geeft de gebruiker het recht om labelsets te beheren (aanmaken, wijzigen en verwijderen).
* '''Superadministrator''': This permissions can only be added or removed by the user called '''admin''' and grants full permission to the whole LimeSurvey installation.
{Alert|title=Warning|text=This permissions is very powerful and you should be very careful with granting it.}}


* '''Deelnemer panel''': zie [[Central participants database/nl|deelnemersdatabase]]
*'''Use internal database authentication''': This permission allows users to access LimeSurvey's panel via the authentication page (e.g. ''http://domain/admin/authentication/sa/login''). If it is unchecked and the respective user tries to connect to the LimeSuvey's panel, he will get the following error: 'Internal database authentication method is not allowed for this user'.


==Sjabloonrechten van een gebruiker instellen==
==Set template permissions for a user==


Met deze rechten kun je bepalen welke sjablonen een gebruiker kan kiezen bij het aanmaken of wijzigen van een enquête. Zo kun je voorkomen dat ongeschikte sjablonen toch gebruikt worden.
With template permissions, you can decide which design templates a user can select when creating or editing a survey. It might be a good idea to restrict the design templates a user can select in order to prevent unwanted use of design templates, which you might consider to be not suitable for a survey/questionnaire.


Als je een specifiek sjabloon hebt voor een bepaalde groep gebruikers of klanten kun je hier de rechten dusdanig inperken dat ze alleen deze  kunnen kiezen.
For example, if you have a specific design template for a group of users or customers, you might want to restrict their access to other templates to make them use only the template created for their purpose.


Klik op het pen-slotsymbool om de rechten van een sjabloon te wijzigen
To set or edit the template permissions for a user, simply click the pen-and-lock symbol for design templates:


[[File:LimeSurveySetDesignTemplatesLS.jpg]]
<center>[[File:LimeSurveySetDesignTemplatesLS.jpg]]</center>


Selecteer nu de sjablonen waaruit de gebruiker moet kiezen. Druk daarna op '''Instellingen bewaren''' in de rechterbovenhoek.
Select the design templates to which the respective user or user groups should have access to. After you finished your selection or deselection, do not forget to hit the '''Save''' button: [[File:Save.png|0.75px]].


[[File:Save_Close.jpg]]
To get a proper understanding of this function, check [[Manage users#Examples|the examples provided below]].


De belangrijkste functies om rechten op te baseren staan onder het gedeelte Functies in dit artikel.
=Wegwerpwachtwoorden gebruiken=


=Rechten instellen voor een enquête=
A user can call the LimeSurvey login at /limesurvey/admin and enter a username and a one-time password (which was previously written into the users table - ''column one_time_pw'' - by an external application).


De volgende rechten gelden alleen voor een enquête. Gebruik Globale rechten om de rechten over het hele systeem in te stellen.
To enable this login method, the line [[Optional settings#Use_one_time_passwords|<code>$use_one_time_passwords = false;</code>]] has to be set 'true' in config.php (it is 'false' by default).
 
De URL moet de volgende waarden bevatten:
* '''user:''' de gebruikersnaam die gebruikt wordt om in te loggen op LimeSurvey. Deze moet bestaan!
* '''onepass:''' het wachtwoord dat opgeslagen ligt in de gebruikerstabel


Om deze rechten in te kunnen stellen moet er een gebruiker aanwezig zijn. Maak deze dus eerst aan om de enquêterechten toe te passen. Het is niet nodig dat de gebruiker ook globale rechten heeft.
A valid URL to login using a one-time password will look like this:


==Gebruikersrechten voor een enquête instellen==
<div class="simplebox">http://www.jouwdomein.nl/limesurvey/index.php/admin/authentication/login?user=myusername&onepass;=secretpassword</div>


Selecteer eerst '''Enquête Rechten''' onder '''Eigenschappen''' in de toolbar.
'''Things to watch out for:'''
* To enable this login method, the line [[Optional settings#Use_one_time_passwords|<code>$use_one_time_passwords = false;</code>]] has to be set <code>true</code> in config.php (it is 'false' by default).
* The passed username has to exist in LimeSurvey's ''users table''.
* The one-time password (which can be set via an external application) has to be stored as [https://secure.php.net/manual/en/function.md5.php MD5 hash] in column ''one_time_pw'' of table ''users''.
* The passed plain text password will be hashed using the sha256 function and will then be compared to the stored hash in column ''one_time_pw'' of table ''users''. Both passwords have to match.
* After the first login with the one-time password, it gets deleted from the database. The user won't be able to log in anymore with that respective password a second time.


[[File:LimeSurveySurveyPermissions.jpg]]
=Set permissions for a single survey=


Kies daarna de gebruiker waarvoor je de rechten wilt instellen en klik op '''Voeg gebruiker toe'''.
These permissions only apply for a single survey. If you want to set permissions for the whole system, you can use [[Manage users#User Management#Set global permissions for a user|global permissions]].
These permissions can be offered either to a single user or to a user group.


[[File:LimeSurveyAddSurveyPermission.jpg]]
{{Alert|title=Attention|text=An existing user account is required to set permissions for a single survey. If the account doesn't exist, you have to create it first and then change the survey permissions. The same applies to offering survey permissions to a user group. Besides the necessity to have one created, you also need to add at least one user to that group in order to be able to select it and grant it survey permissions.}}


Nadat je op '''Stel enquête rechten in''' hebt geklikt, verschijnt de matrix met rechten voor de enquête en de gebruiker.
To change the survey permissions, you have to select the '''Settings''' menu of your survey, which includes the general settings of your installation. Then, click on '''Survey permissions''' and choose to whom would you like to offer permissions. The rights can be offered either separately to specific users or to a user group.


[[File:LimeSurveyUserPermissionMatrix.jpg]]
<center>[[File:LimeSurveySurveyPermissions.jpg]]</center>


In deze matrix kun je de rechten instellen voor de verschillende functies en onderdelen. Om rechten in te stellen klik je op de betreffende checkbox. De checkbox in de eerste kolom zet of wist alle rechten in die rij.
<center>[[File:LimeSurveySurveyPermissionsRights.png]]</center>


De andere kolommen bevatten de rechten voor deze gebruiker voor de onderdelen en functies.
==Grant survey permissions to a user==


Als je klaar bent met het wijzigen van de rechten, klik dan op '''Bewaar en sluit''' in de rechterbovenhoek om ze op te slaan.
In the next step, select the user that will receive survey rights and click '''Add user'''.


[[File:Save-SaveAndClose-Close.jpg]]
<center>[[File:LimeSurveyAddSurveyPermission.jpg]]</center>


De belangrijkste functies om rechten op te baseren staan onder het gedeelte Functies in dit artikel.
After you click '''Set survey permissions''', the user's survey permissions matrix will be shown.


=Functies=
<center>[[File:LimeSurveyUserPermissionMatrix.jpg]]</center>


In dit gedeelte gaan we in op het gebruik per functie, en de rechten die daarmee samenhangen.
You can set in this matrix the user's survey permissions. Checking a box grants survey permissions to the respective user. If you click on a checkbox from the first column, all the rights of the corresponding line will be selected/removed.  


==Een persoon met beheerdersrechten toevoegen==
Click on the double-right arrowhead to access the extended version of the matrix to choose specifically the actions that can be performed by a user.
* Login als '''admin'''
After you finished editing the survey permissions, click on the '''Save''' button, which is located in the upper right part of the screen.
* Maak een nieuw gebruikersaccount aan
* Stel de rechten voor deze gebruiker in op '''Hoofdbeheerder'''
* Stel optioneel de sjabloonrechten in
* Stel optioneel de enquêterechten in


==Een persoon die enquêtes wil houden==
Some examples are provided [[Manage_users#Examples|below]] in order to help you get a better understanding of the Limesurvey's survey permissions system.
* Login als '''admin''', of een gebruiker met '''Hoofdbeheerder'''-rechten
* Maak een nieuw gebruikersaccount aan
* Stel de rechten voor deze gebruiken op '''Maak een enquête aan'''
* Stel de rechten in op de sjablonen die de gebruiker mag gebruiken
* Stel optioneel de enquêterechten in (een eigenaar van een enquête heeft automatisch alle rechten)


==De eigenaar van een enquête heeft een ander persoon nodig om zijn enquête te wijzigen==
==Grant survey permissions to a user group==
* Login als '''admin''', of een gebruiker met '''Hoofdbeheerder'''-rechten
* Maak een nieuw gebruikersaccount aan
* Stel '''geen''' globale rechten voor deze gebruiker
* Stel '''geen''' sjabloonrechten in
* Stel de enquêterechten in op wat de gebruiker (niet) mag doen.


==Een persoon moet resultaten in kunnen zien en ze exporteren==
Click on add a user group and select the user group to which you would like to add the permission rights.
* Login als '''admin''', of een gebruiker met '''Hoofdbeheerder'''-rechten
* Maak een nieuw gebruikersaccount aan
* Stel '''geen''' als rechten in
* Stel '''geen''' als sjabloonrechten in
* Stel de enquêterechten in op: '''Responses''': '''bekijk/lees''' en '''exporteer''', '''Statistieken''': '''bekijk /lees'''


[[File:LimeSurveyCusomerOwnStatistics.jpg]]
<center>[[File:LimeSurveyPermissionRightsUserGroup.png]]</center>


----
You will select in the next step the permissions that you will allocate to the members of that user group. Do not forget to click on the double right arrowhead to get an extended view of the permissions matrix.


Dit verplaatsen zodra het beter opgeschreven is:
<center>[[File:UserGroupSurveyPermissions.png]]</center>


Er zijn verschillende groepen mensen die toegang hebben tot LimeSurvey. Echter, er is maar een groep '''gebruikers''' gedefinieerd in de code en de documentatie, daarom hieronder een overzicht van de verschillende groepen, zodat de terminologie wat beter te begrijpen is.
After you finished editing the survey permissions, click on the '''Save''' button, which is located in the upper right part of the screen.


{|
Some examples are provided [[Manage_users#Examples|below]] in order to help you get a better understanding of the Limesurvey's survey permissions system.
!Groep!!Beschrijving
|-
|Beheerder/Administrator || De mensen die gebruikersaccounts beheren, en daarmee mogelijk maken dat er enquêtes gemaakt, gewijzigd, geactiveerd worden, en resultaten getoond worden. Ook regelen ze de rechten voor sjablonen, labelsets en andere functies voor de enquêtes.
|-
|Enquêtebeheer || De mensen die één of meerdere enquêtes beheren. Elke enquête heeft zijn eigen rechten, die over verschillende mensen verdeeld kunnen worden, en kunnen opschalen van het alleen tonen van de resultaten tot het wijzigen van de vragen en het activeren van een enquête
|-
|Deelnemer || De mensen die een enquête beantwoorden. Ze kunnen een tokentoegang hebben, maar ze hebben over het algemeen geen gebruikersaccount, omdat ze niet in de beheerpanelen hoeven te zijn. Daarom zijn ze ook geen gebruikers.
|-
|Installeur || Een speciale groep mensen die toegang hebben tot de database, en mogelijk ook de commandline om software te kunnen installeren. Deze gebruikers installeren de software, en maken de eerste Hoofdbeheerder aan zodat deze de resterende rechten kan verdelen.
|-
|Ontwikkelaar || Een speciale groep mensen die de broncode van de applicatie willen wijzigen. Over het algemeen wordt dit op code gedaan die niet beschikbaar is in een productieomgeving.
|}


=Wegwerpwachtwoorden gebruiken=
{{Note|[[Manage user groups|The user group function]] is still experimental. Use our [https://bugs.limesurvey.org/ bugs tracker] to describe any kind of inconsistencies.}}


Sinds versie 1.81 kan een gebruiker het beheerpaneel opstarten en een wegwerpwachtwoord gebruiken. Hiervoor is de kolom 'one_time_pw' in de gebruikerstabel beschikbaar.
=Examples=


Om deze toegangsmethode te gebruiken moet er een [[Optional settings/nl#Wegwerpwachtwoorden|instelling]] gewijzigd worden ($use_one_time_passwords = true;) in config.php.
Different scenarios are presented below. They provide some advice about which rights are necessary for some specific tasks and how they can be granted to the users.


De URL moet de volgende waarden bevatten:
==I want to add a new person in charge for administrating LimeSurvey==
* '''user:''' de gebruikersnaam die gebruikt wordt om in te loggen op LimeSurvey. Deze moet bestaan!
* Log in as '''admin'''.
* '''onepass:''' het wachtwoord dat opgeslagen ligt in de gebruikerstabel
* Create a new user account.
* Grant that user the '''Superadministrator''' permission.
* ''Not necessary'' : Setting the template permissions ('''Superadministrator''' has all permissions for all templates).
* ''Not necessary'' : Setting the survey permissions ('''Superadministrator''' has all permissions for all surveys).


Een geldige URL voor een login met een wegwerpwachtwoord ziet er zo uit...
==A new user wants to create his/her own surveys==
* Log in as '''admin''' (or as a user that has the '''Superadministrator''' permission).
* Create a new user account.
* Set global permissions for that user to '''Create survey'''.
* ''Optional'' : Set template permissions - select which template(s) should be used by the user/user group.


... in versie 1.81 tot 1.92:
==The creator of a survey needs another person to edit his/her survey==
* Log in as '''admin''' (or as a user that has the '''Superadministrator''' permission).
* Create a new user account.
* Set '''no global permissions''' for user.
* Set '''no template permissions''' for user.
* Set the survey permissions the way you want. If he/she should receive all the survey permissions, you can check the first box from each row. Otherwise, click on the double-right arrowhead to see the expanded matrix (upper right corner) and select only those rights you believe the respective user should have.


<div class="simplebox">http://www.jouwdomein.nl/limesurvey/admin/admin.php?user=myusername&onepass;=secretpassword</div>
==A person responsible for the survey wants to see the results of the survey and export them==
* Log in as '''admin''' (or as a user that has the '''Superadministrator''' permission).
* Create a new user account.
* Set '''no global permissions''' for user.
* Set '''no template permissions''' for user.
* Set survey permissions to: '''Responses''' -> '''View/read''' and '''export''', and '''Statistics''': '''View/read'''.


...in versie 2.0 en later:
<center>[[File:LimeSurveyCusomerOwnStatistics.jpg]]</center>


<div class="simplebox">http://www.jouwdomein.nl/limesurvey/index.php/admin/authentication/login?user=myusername&onepass;=secretpassword</div>
==I need help from two interns that can help me with the translation of my survey==
* Log in as ''admin'' (or as a user that has the ''Superadministratpr'' permission).
* Create ''n'' user accounts (where n is the number of translators).
* Create a user group called ''Translators'' and add the ''n'' accounts to this group.
* Go to the '''Survey permissions''' and click on '''Add a user group'''.
* If they do only translations, then offer them the '''Quick translation''' permission.


'''Aandachtspunten:'''
{{Note|Check our [[LimeSurvey Users|wiki section on users]] and their classification as it can be found in the code and documentation.}}
* De functie voor wegwerpwachtwoorden moet aangezet worden via "$use_one_time_passwords = true;" (in 1.92), of "use_one_time_passwords => true" (in 2.0 in config section) in config.php.
* De gebruikersnaam moet bestaan in de gebruikerstabel
* Het wegwerpwachtwoord is opgeslagen als [http://www.php.net/md5 MD5 hash] in de kolom ''one_time_pw'' van tabel ''users''
* Het opgestuurde wachtwoord wordt als MD5-hash vergeleken met het opgeslagen wachtwoord
* Na de login wordt het wachtwoord verwijderd. De gebruiker kan dus maar een keer het wegwerpwachtwoord gebruiken.

Revision as of 20:20, 2 February 2018

Gebruikersbeheer

The user management tool allows you to add additional administration users to LimeSurvey. We will call them in this chapter just 'users'. Do not confuse them with survey participants (respondents).

Aanmaken van gebruikers

To create a new user, open the user management dialog by clicking on Configuration (located on the main LimeSurvey toolbar) -> Manage survey administrators as shown below.

File:LimeSurveyBenuzerVerwaltung.jpg

Then, click on Add user located on the upper right part of User control table. A window will show up, asking you to:

  • Enter the desired username into the Username text field.
  • Enter the email address into the Email text field. Please note that:
    • LimeSurvey sends out a confirmation email to the address entered into the Email field. This email address will be used as the standard contact email address for surveys created by the respective user.
    • If you don't want the user to receive the confirmation email with a link to the LimeSurvey installation, username, and password, you can use your own email address to send the confirmation email to you. You can change after that the email address to the address of the user;
  • Enter user's full name into the Full name text field. Please note that the full name entered here will be used as the standard contact person name for surveys created by the respective user.
  • Click Save to create the new user.

You have now created your first user. To find out more about setting user permissions, please continue reading further.

As you can see below, there are four options under the Action column that allow you to:

  • edit the general aspects of a user - by clicking the pen symbol;
  • delete the user from the survey administrators database - by clicking the trash button;
  • set global permissions for a user - click the lock symbol;
  • set template permissions for a user - click the pen-and-lock symbol.

Edit user

You can use the pen symbol to edit a user.

You can set a new email address, full name, and even change his or her password. If you have finished what you want to do, click on the Save button (right upper part of the window).

Delete user

To delete a user account, simply click on his or her corresponding trash button (located on the same line with the user account you want to delete) and click OK.

Set global permissions for a user

  Global permissions apply to the whole LimeSurvey installation. If you want to set permissions only for a specific survey you can use the survey permissions settings.


To set global permissions for a user, click on the lock symbol.

The CRUD (Create, read, update, and delete) system is employed (like in the survey permission settings). To fine-tune user permissions, we strongly recommend to extend the matrix using the double-right arrowhead, which is located in its upper right corner. If you check the first box, all the CRUD permissions situated on that row are automatically checked.

You can now add or remove the following permissions:

  • Label sets: Permission to create, view, update, delete, export, and import label sets. The label sets don't have specific permissions (unlike design templates).
  • Settings & Plugins: With this permission a user can check data integrity, save the SQL database to an .sql file, manage global setting, view the PHP info in the global settings, and manage all plugins.
  • Surveys: This gives access to all surveys. To allow a user only to create and manage their own survey survey, only give the user the 'create' permission. A creator of a survey is the owner of the survey and will always be able to manage it. Remember that each survey can grant to users different permissions.
The global permission is applied before the survey-specific permission!
  • Templates: It allows the user to use all the available design templates and edit all non-standard templates. A person with this right should have sufficient knowledge in terms of HTML, Javascript, and CSS. If a user is not familiar with these things and is supposed to use a specific design template, it would be better to give him only access to 'read' permission. Each template can have specific permissions.
  • Gebruikersgroepen: Het recht van een gebruiker om gebruikersgroepen aan te maken, te bekijken, te wijzigen en te verwijderen.
  • Users: A user can create, modify, and delete his own administration users with this permission. The newly created users cannot have higher permissions than the parent user. You will also not be able to edit users owned by other administration users. If this has to be done, then a Superadministrator permission has to be granted.
  • Superadministrator: This permissions can only be added or removed by the user called admin and grants full permission to the whole LimeSurvey installation.

{Alert|title=Warning|text=This permissions is very powerful and you should be very careful with granting it.}}

  • Use internal database authentication: This permission allows users to access LimeSurvey's panel via the authentication page (e.g. http://domain/admin/authentication/sa/login). If it is unchecked and the respective user tries to connect to the LimeSuvey's panel, he will get the following error: 'Internal database authentication method is not allowed for this user'.

Set template permissions for a user

With template permissions, you can decide which design templates a user can select when creating or editing a survey. It might be a good idea to restrict the design templates a user can select in order to prevent unwanted use of design templates, which you might consider to be not suitable for a survey/questionnaire.

For example, if you have a specific design template for a group of users or customers, you might want to restrict their access to other templates to make them use only the template created for their purpose.

To set or edit the template permissions for a user, simply click the pen-and-lock symbol for design templates:

Select the design templates to which the respective user or user groups should have access to. After you finished your selection or deselection, do not forget to hit the Save button: 0.75px.

To get a proper understanding of this function, check the examples provided below.

Wegwerpwachtwoorden gebruiken

A user can call the LimeSurvey login at /limesurvey/admin and enter a username and a one-time password (which was previously written into the users table - column one_time_pw - by an external application).

To enable this login method, the line $use_one_time_passwords = false; has to be set 'true' in config.php (it is 'false' by default).

De URL moet de volgende waarden bevatten:

  • user: de gebruikersnaam die gebruikt wordt om in te loggen op LimeSurvey. Deze moet bestaan!
  • onepass: het wachtwoord dat opgeslagen ligt in de gebruikerstabel

A valid URL to login using a one-time password will look like this:

Things to watch out for:

  • To enable this login method, the line $use_one_time_passwords = false; has to be set true in config.php (it is 'false' by default).
  • The passed username has to exist in LimeSurvey's users table.
  • The one-time password (which can be set via an external application) has to be stored as MD5 hash in column one_time_pw of table users.
  • The passed plain text password will be hashed using the sha256 function and will then be compared to the stored hash in column one_time_pw of table users. Both passwords have to match.
  • After the first login with the one-time password, it gets deleted from the database. The user won't be able to log in anymore with that respective password a second time.

Set permissions for a single survey

These permissions only apply for a single survey. If you want to set permissions for the whole system, you can use global permissions. These permissions can be offered either to a single user or to a user group.

  Attention : An existing user account is required to set permissions for a single survey. If the account doesn't exist, you have to create it first and then change the survey permissions. The same applies to offering survey permissions to a user group. Besides the necessity to have one created, you also need to add at least one user to that group in order to be able to select it and grant it survey permissions.


To change the survey permissions, you have to select the Settings menu of your survey, which includes the general settings of your installation. Then, click on Survey permissions and choose to whom would you like to offer permissions. The rights can be offered either separately to specific users or to a user group.

Grant survey permissions to a user

In the next step, select the user that will receive survey rights and click Add user.

After you click Set survey permissions, the user's survey permissions matrix will be shown.

You can set in this matrix the user's survey permissions. Checking a box grants survey permissions to the respective user. If you click on a checkbox from the first column, all the rights of the corresponding line will be selected/removed.

Click on the double-right arrowhead to access the extended version of the matrix to choose specifically the actions that can be performed by a user. After you finished editing the survey permissions, click on the Save button, which is located in the upper right part of the screen.

Some examples are provided below in order to help you get a better understanding of the Limesurvey's survey permissions system.

Grant survey permissions to a user group

Click on add a user group and select the user group to which you would like to add the permission rights.

You will select in the next step the permissions that you will allocate to the members of that user group. Do not forget to click on the double right arrowhead to get an extended view of the permissions matrix.

After you finished editing the survey permissions, click on the Save button, which is located in the upper right part of the screen.

Some examples are provided below in order to help you get a better understanding of the Limesurvey's survey permissions system.

The user group function is still experimental. Use our bugs tracker to describe any kind of inconsistencies.

Examples

Different scenarios are presented below. They provide some advice about which rights are necessary for some specific tasks and how they can be granted to the users.

I want to add a new person in charge for administrating LimeSurvey

  • Log in as admin.
  • Create a new user account.
  • Grant that user the Superadministrator permission.
  • Not necessary : Setting the template permissions (Superadministrator has all permissions for all templates).
  • Not necessary : Setting the survey permissions (Superadministrator has all permissions for all surveys).

A new user wants to create his/her own surveys

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create a new user account.
  • Set global permissions for that user to Create survey.
  • Optional : Set template permissions - select which template(s) should be used by the user/user group.

The creator of a survey needs another person to edit his/her survey

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create a new user account.
  • Set no global permissions for user.
  • Set no template permissions for user.
  • Set the survey permissions the way you want. If he/she should receive all the survey permissions, you can check the first box from each row. Otherwise, click on the double-right arrowhead to see the expanded matrix (upper right corner) and select only those rights you believe the respective user should have.

A person responsible for the survey wants to see the results of the survey and export them

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create a new user account.
  • Set no global permissions for user.
  • Set no template permissions for user.
  • Set survey permissions to: Responses -> View/read and export, and Statistics: View/read.

I need help from two interns that can help me with the translation of my survey

  • Log in as admin (or as a user that has the Superadministratpr permission).
  • Create n user accounts (where n is the number of translators).
  • Create a user group called Translators and add the n accounts to this group.
  • Go to the Survey permissions and click on Add a user group.
  • If they do only translations, then offer them the Quick translation permission.
Check our wiki section on users and their classification as it can be found in the code and documentation.