Actions

Manage users/nl: Difference between revisions

From LimeSurvey Manual

(Created page with "{{Alert|Globale rechten gelden voor de hele LimeSurvey-installatie. Als je alleen voor één enquête rechten wil instellen kun je dat Manage users#Setting permissions for...")
No edit summary
Line 47: Line 47:
==Globale rechten van een gebruiker instellen==
==Globale rechten van een gebruiker instellen==


{{Alert|Globale rechten gelden voor de hele LimeSurvey-installatie. Als je alleen voor één enquête rechten wil instellen kun je dat  [[Manage users#Setting permissions for a single survey|hier]] doen.}}
{{Alert|Globale rechten gelden voor de hele LimeSurvey-installatie. Als je alleen voor één enquête rechten wil instellen kun je dat  [[Manage users/nl#Setting permissions for a single survey|hier]] doen.}}


Klik op het slot-symbool om de rechten van een gebruiker in te stellen.
Klik op het slot-symbool om de rechten van een gebruiker in te stellen.

Revision as of 15:31, 11 February 2018

Gebruikersbeheer

Met gebruikersbeheer kunt u extra beheerders toevoegen. In dit hoofdstuk noemen we ze gewoon 'gebruikers'. Verwar ze niet met deelnemers aan de enquête (ook wel respondenten genoemd).

Gebruiker toevoegen

Om een gebruiker toe te voegen, klik op Configuratie -> Gebruikersbeheer.

File:LimeSurveyBenuzerVerwaltung.jpg

Klik daarna op Gebruiker toevoegen, dat staat rechtsboven de Gebruikersbeheertabel. Op een vervolgscherm wordt je dan gevraagd om:

  • Vul de gewenste gebruikersnaam in;
  • Vul het e-mailadres in.
    • LimeSurvey stuurt altijd een bevestiging per e-mail. Dit adres wordt ook gebruikt als contactadres voor enquêtes die door deze gebruiker aangemaakt worden.
    • Als je de gebruiker geen bevestiging wilt sturen, moet je hier je eigen e-mailadres invoeren. Na bevestiging kun je het wijzigen in dat van de gebruiker;
  • Vul de volledige naam van de gebruiker. Dit wordt gebruikt als contactpersoon.
  • Klik op de knop Gebruiker toevoegen.

De gebruiker is nu aangemaakt. Daarna zul je de globale rechten van de nieuwe gebruiker willen instellen, daarover later meer.

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

  • wijzig de algemene gegevens van een gebruiker door te klikken op de groene pen;
  • verwijder de gebruiker door te klikken op de afvalbak;
  • stel de rechten van de gebruiker in door te klikken op het slotje;
  • stel de sjabloonrechten van de gebruiker in door te klikken op de groene pen met een slotje.

Gebruiker wijzigen

Gebruik het pen-symbool om een gebruiker te wijzigen.

Daarna kun je het e-mailadres, de naam en het wachtwoord wijzigen. Om de wijziging(en) op te slaan klik op Bewaar.

Gebruiker verwijderen

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

Globale rechten van een gebruiker instellen

  Globale rechten gelden voor de hele LimeSurvey-installatie. Als je alleen voor één enquête rechten wil instellen kun je dat hier doen.


Klik op het slot-symbool om de rechten van een gebruiker in te stellen.

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:

  • Labelsets: Het recht om labelsets te beheren (aanmaken, bekijken, wijzigen, verwijderen, exporteren en te importeren).
  • Instellingen & Plugins: Met dit recht kan een gebruiker de integriteit van gegevens controleren, de SQL-database exporteren naar een sql-bestand, de algemene instellingen beheren, php-info bekijken in de algemene instellingen. Ook kunnen de plug-ins worden beheerd.
  • Enquête: geeft toegang tot alle enquêtes. Om een gebruiker alleen zijn eigen enquêtes aan te laten maken en te laten beheren moet je alleen het recht 'create' toekennen. De aanmaker van de enquête is de eigenaar en de beheerder. Per enquête kunnen aan gebruikers verschillende rechten worden toegekend.
De globale rechten worden toegepast voor de rechten van de specifieke enquête!
  • 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'.

Sjabloonrechten van een gebruiker instellen

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.

Klik op het pen-slotsymbool om de rechten van een gebruiker op een sjabloon te wijzigen

Selecteer nu de sjablonen waar de gebruiker of gebruikersgroep toegang tot heeft. Druk daarna op Instellingen bewaren in de rechterbovenhoek: 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.

Rechten instellen voor een enquête

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.

Gebruikersrechten gebruiker voor een enquête instellen

Kies daarna de gebruiker waarvoor je de rechten wilt instellen en klik op Voeg gebruiker toe.

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.

Voorbeelden

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.