Actions

Manage users/de: Difference between revisions

From LimeSurvey Manual

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


Die Benutzerverwaltung ermöglicht es Ihnen, zusätzliche Administrations-Benutzer zu LimeSurvey hinzuzufügen. In diesem Kapitel werden wir diese einfach nur "Benutzer" nennen - nicht zu verwechseln mit [[Survey participants/de|Umfrageteilnehmern]].
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).


==Benutzer erstellen==
==Benutzer erstellen==


Um einen neuen Benutzer anzulegen, muss in die Benutzer-Verwaltung ('''Konfiguration''' -> '''Umfrageadministratoren verwalten''' ) gewechselt werden.  
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:LimeSurveyBenutzerHinzufuegen.jpg]]
Then, click on '''Add user''' located on the upper right part of '''User control''' table. A window will show up, asking you to:
* In dem Textfeld in der Spalte '''Benutzername''' wird der gewünschte Benutzername eingetragen.
* Die dem Textfeld in der Spalte '''E-Mail''' wird die E-Mail-Adresse des Benutzers hinterlassen. Wichtig hierbei
** Wenn man nicht möchte dass der Benutzer selbst eine Bestätigungs-E-Mail mit Link zum Umfragen-System, Benutzername und Passwort erhält sollte vorerst die eigene E-Mail-Adresse eingetragen (und dann später geändert) werden.
** LimeSurvey sendet an diese E-Mail-Adresse eine Bestätigungs-E-Mail. Die Adresse wird ebenfalls als Standard-Kontaktadresse für Umfragen verwendet die mit diesem Benutzer-Account erstellt werden.
* Die dem Textfeld in der Spalte '''Vor- und Nachname''' wird Vor- und Nachname des Benutzers hinterlassen. Wichtig hierbei
** Der Name wird nicht nur intern angezeigt sondern auch als Standard-Kontakt-Ansprechpartner für Umfragen verwendet die mit diesem Benutzer-Account erstellt werden.
* Auf '''Benutzer hinzufügen''' klicken.


Nun wurde ein neuer Benutzer angelegt. Wie dem Benutzer verschiedene Berechtigungen zugewiesen werden, wird in den weiteren Punkten erläutert.
* 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.


==Benutzer bearbeiten==
<center>[[File:LimeSurveyAddUser.jpg]]</center>


Um einen Benutzer zu bearbeiten, klicken sie auf den Button mit dem Stiftsymbol:
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>


Sie können eine neue E-Mail-Adresse oder Name setzen, und sogar das Passwort ändern. Wenn Sie fertig sind, klicken auf "'Speichern"'.
As you can see below, there are four options under the '''Action''' column that allow you to:


==Benutzer löschen==
<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.


Um ein Benutzerkonto zu löschen klicken Sie einfach auf den Button mit dem Papierkorb-Symbol in der Zeile mit dem Benutzer-Konto, das gelöscht werden soll und klicken Sie auf "'OK"'.
==Edit user==


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


Globale Berechtigungen gelten in der gesamten LimeSurvey-Installation. Soll einem Nutzer nur eine Berechtigung für eine spezielle Umfrage erteilt werden, kann dies in den Umfragen-Einstellungen festgelegt werden.
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 Berechtigungen für einen Nutzer setzen==
==Delete user==  


Um globale Berechtigungen für einen Benutzer zu setzen klicken Sie einfach den Button mit dem Schloß-Symbol.
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'''.


[[Datei: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/de|2.05}}
To set global permissions for a user, click on the lock symbol.


Das System verwendet CRUD-Berechtigungen (CRUD= Create, Read, Update und Delete), wie die Umfrageberechtigungen. Wenn Sie die erste Checkbox markieren, wird die ganze Zeile markiert. Sie können darüber die Berechtigungen sehr detailliert konfigurieren.
<center>[[File:User_global_permission.png]]</center>


Jetzt können Sie die folgenden Rechte hinzufügen oder entfernen.
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.  


* "'Superadministrator"': Dieses Recht kann nur durch den Benutzer 'admin' hinzugefügt oder entfernt werden und gewährt volle Rechte auf die gesamte LimeSurvey-installation.
<center>[[File:User_global_permission_complete.png]]</center>
"'Hinweis:"' Diese Berechtigung ist sehr mächtig und man sollte sehr vorsichtig mit der Gewährung dieser Berechtigung sein.


* '''Umfragen''': Dies gibt Zugriff auf alle Umfragen. Um einen Benutzer nur zum Erstellen und Verwalten seiner eigenen Umfragen zu authorisieren, vergeben Sie nur die Berechtigung 'Erstellen'. Der Ersteller einer Umfrage ist der Besitzer dieser Umfrage und hat damit immer volle Berechtigungen in dieser Umfrage. Beachten Sie bitte, dass außerdem spezifische Umfrageberechtigungen vergeben werden können. Globale Berechtigungen haben immer Vorrang vor spezifische Berechtigungen.
You can now add or remove the following permissions:


* '''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.
* '''Participant panel''': For more details, continue reading about the [[Central participants database|central participants database here]].


* '''Users''': With this permission a user can create, modify and delete his own administration users. The newly created users cannot have higher permissions than the parent - also you will not be able to edit users owned by other administration. If this has to be done then a Superadmin permission has to be granted.
* '''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.


* '''User groups''': This permission allows a user to create/view/update/delete user groups.
* '''User groups''': This permission allows a user to create/view/update/delete user groups.


* '''Templates''': It allows the user to use all 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 familar with these things and is supposed to use a specific design template it would be better to give him only acccess to read permission. Each template can have specific permissions.
* '''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.


* '''Label sets''': Permission to create, update, use (view/read) and delete label sets. The label sets don't have specific permissions (unlike design templates).
* '''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.}}


* '''Participant panel''': see [[Central participants database]]
*'''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'.


==Vorlagenberechtigungen für einen Benutzer setzen==
==Set template permissions for a user==


Mit den Vorlagenberechtigungen kann festgelegt werden welche Design-Vorlagen der Nutzer beim Erstellen oder Bearbeiten einer Umfrage auswählen/verwenden kann. Es ist sinnvoll jene Auswahl einzuschränken um den Benutzer nicht zu überfordern und zu verhindern dass ungewollt Design-Vorlagen verwendet werden die nicht verwendet werden sollen.
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.


'''Wichtig:''' Wenn es für bestimmte Benutzer-Gruppen oder Kunden eigene Design-Vorlagen gibt sollten wenn möglich auch nur jene auf verfügbar gestellt werden.
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.


Zum SetzenBearbeiten der Designvorlage-Berechtigungen für einen Benutzer klicken Sie einfach auf das Stift-und-Schloss-Symbol für Design-Vorlagen.
To set or edit the template permissions for a user, simply click the pen-and-lock symbol for design templates:


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


Nun können die gewünschten Design-Vorlagen, die der Benutzer verwenden können soll, ausgewählt werden. Am Ende werden die Einstellungen mit einem Klick auf '''Speichern''' in der oberen rechten Ecke gespeichert.
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]].


Unter dem Punkt '''Anwendungsfälle''' werden die häufigsten Standardfälle für neue Nutzer aufgelistet.
=Nutzung von Einmalpasswörtern=


=Berechtigungen nur für eine einzelne Umfrage=
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).


Diese Berechtigungen gelten nur für eine einzelne Umfrage. Sollen einem Benutzer Berechtigungen für das ganze System übergeben werden müssen die globalen Berechtigungen verwendet werden.
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).


'''Wichtig:''' Auch für Berechtigungen für einzelne Umfragen muss ein Benutzer-Account vorhanden sein bzw. angelegt werden wenn er es noch nicht sein sollte. Der Benutzer muss jedoch keine globale Berechtigung besitzen, es reicht wenn er nur existiert.
'''Nutzung von Einmalpasswörtern'''


==Benutzer-Berechtigungen für eine Umfrage ändern==
Seit Version 1.81 kann ein Nutzer den LimeSurvey-Login unter /limesurvey/admin aufrufen und einen Benutzernamen sowie ein Einmalpasswort, das zuvor von einer externen Anwendung in die Benutzertabelle von LimeSurvey geschrieben wurde, per URL übergeben.


Um die Berechtigungen für eine einzelne Umfrage zu setzen wählt man im Menü '''Umfragen-Einstellungen''' den Menüpunkt '''Umfrageberechtigungen''' aus.
Um diese Loginmethode nutzen zu können, muss [http://docs.limesurvey.org/tiki-index.php?page=Installationsanleitung#5_2_Optionale_Einstellungen eine Einstellung] ($use_one_time_passwords = true;) in config.php vorgenommen werden.
 
Die URL muss die folgenden Parameter enthalten:
* '''username:''' Der Benutzername, mit dem sich der Benutzer standardmäßig bei LimeSurvey anmeldet. Dieser muss in der Tabelle ''users'' vorhanden sein.
* '''onepass:''' Das Passwort im Klartext, es wird dann mit dem in der Datenbank hinterlegten Passwort abgeglichen


[[File:LimeSurveyUmfragenBerechtigungen.jpg]]
Eine korrekte URL für einen Login mittels Einmalpasswort sieht wie folgt aus:


Im nächsten Schritt wird der Benutzer ausgewählt dem die Berechtigung gesetzt werden soll und auf '''Benutzer hinzufügen''' geklickt.
A valid URL to login using a one-time password will look like this:


[[File:LimeSurveyBenBerHinz.jpg]]
<div class="simplebox">http://www.yourdomain.org/limesurvey/admin/admin.php?username=myusername&onepass;=secretpassword</div>


Nach einem Klick auf '''Bearbeite Umfrageberechtigungen''' wird die Benutzerberechtigungsmatrix für die Umfrage angezeigt.
'''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:LimeSurveyBenutzerBerechtigungMatrix.jpg]]
=Set permissions for a single survey=


In dieser Matrix können die Berechtigungen für die einzelnen Bereiche festgelegt werden. Durch einen Klick in die Checkbox in der ersten Spalte nach den Bereichsbezeichnungen können alle Berechtigungen für einen Bereich ausgewählt werden. In den weiteren Spalten können wenn benötigt die einzelnen Berechtigungen hinzugefügt oder entfernt werden falls nicht alle Berechtigungen ausgewählt/möglich sein sollen. Nach einem Klick auf '''Speichern''' werden die Änderungen übernommen.
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.


Unter dem Punkt '''Anwendungsfälle''' werden die häufigsten Standardfälle für neue Nutzer aufgelistet.
{{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.}}


Nachdem Sie die Bearbeitung der Umfrageberechtigungen abgeschlossen haben, klicken Sie auf "'Jetzt speichern"' in der oberen rechten Ecke.
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:Save-SaveAndClose-Close.jpg]]
<center>[[File:LimeSurveySurveyPermissions.jpg]]</center>


Unter dem Punkt '''Anwendungsfälle''' werden die häufigsten Standardfälle für neue Nutzer aufgelistet.
<center>[[File:LimeSurveySurveyPermissionsRights.png]]</center>


=Anwendungsfälle=
==Grant survey permissions to a user==


Hier wird für die häufigsten Anwendungsfälle und Vorkommnisse festgehalten welche Berechtigungen in diesem Fall gesetzt werden sollten.
In the next step, select the user that will receive survey rights and click '''Add user'''.


==Neuer Betreuer der LimeSurvey-Software kommt hinzu==
<center>[[File:LimeSurveyAddSurveyPermission.jpg]]</center>
* Login über den '''admin'''-Account
* Erstellen eines Benutzeraccounts für den Benutzer
* Setzen der globalen Berechtigung '''Super-Administrator'''
* nicht nötig: Setzen der Vorlagen-Berechtigungen (hat '''Super-Administrator''' eh alle)
* nicht nötig: Setzen der Umfrage-Berechtigungen ('''Super-Administrator''' hat eh alle Berechtigungen für alle Umfragen)


==Neuer Benutzer möchte Umfragen selbst erstellen==
After you click '''Set survey permissions''', the user's survey permissions matrix will be shown.
* Login über den '''admin'''-Account oder mit einem Account der '''Super-Administrator'''-Rechte hat
* Erstellen eines Benutzeraccounts für den Benutzer
* Setzen der globalen Berechtigung '''Erstelle Umfrage'''
* Setzen der Vorlagen-Berechtigungen nach Herkunft/Gruppe des Benutzers/Kunden
* nicht nötig: Setzen der Umfrage-Berechtigungen (Benutzer hat für die Umfragen die er erstellt eh alle Berechtigungen)


==Ersteller braucht weiteren Benutzer der seine Umfrage bearbeiten darf==
<center>[[File:LimeSurveyUserPermissionMatrix.jpg]]</center>
* Login über den '''admin'''-Account oder mit einem Account der '''Super-Administrator'''-Rechte hat
* Erstellen eines Benutzeraccounts für den Benutzer
* Setzen der globalen Berechtigung: '''keine'''
* Setzen der Vorlagen-Berechtigungen: '''keine'''
* Setzen der Umfrage-Berechtigungen: Nach Wunsch des Besitzers der Umfrage und wie viel Macht der Benutzer haben darf/soll. Wenn gleiche Rechte für Umfrage wie der Besitzer ausgewählt werden soll für alle Bereiche alle Berechtigungen auswählen (Klick auf die Checkboxen in der ersten Spalte nach den Bereichsbezeichnungen)


==Verantwortlicher möchte die Ergebnisse einer beauftragten Umfrage einsehen und exportieren==
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.
* Login über den '''admin'''-Account oder mit einem Account der '''Super-Administrator'''-Rechte hat
* Erstellen eines Benutzeraccounts für den Benutzer
* Setzen der globalen Berechtigung: '''keine'''
* Setzen der Vorlagen-Berechtigungen: '''keine'''
* Setzen der Umfrage-Berechtigungen: '''Antworten''': Darf '''Anzeigen''' und '''Export''' , '''Statistiken''': Darf '''Anzeigen'''


[[File:LimeSurveyKundeEigeneAuswertung.jpg]]
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 [[Manage_users#Examples|below]] in order to help you get a better understanding of the Limesurvey's survey permissions system.


To be moved somewhere else once better defined:
==Grant survey permissions to a user group==


Artikel wurde mit Einverständniserklärung von '''vierundzwanzig''' aus dem Firmen-Wiki der 24/7 IT-SERVICES GmbH übernommen.
Click on add a user group and select the user group to which you would like to add the permission rights.


{|
<center>[[File:LimeSurveyPermissionRightsUserGroup.png]]</center>
! Class !! Description
|-
|Installation Administrator || Those people who create login user accounts to allow others to create, edit, activate and/or view surveys and their results.  Often can be given access to edit the templates, labelsets and other key features independent of any particular survey stored.
|-
|Survey Administrator || A person with a login account that is given some management access to a particular survey.  Each survey can have its own set of users with specific rights to manipulate the survey.  These rights can be as broad as to activate a survey and possibly edit its question base.  They can be as minimum as simply able to review the results to date.
|-
|Participant || Those people who simply respond or participate in taking a survey.  They may or may not have token access.  They do not need a login account to the administrative interface and thus are not termed users.
|-
|Installer || A special class of person who has access to the MySQL (or similar) database server and possibly the command line interface of the computers operating system in order to install and configure the survey software.  This person is asked to setup the initial SuperAdmin user account from which other user login accounts can be created.
|-
|Developer || An very special class of person who has access to the source code and can manipulate it to change the programs behavior.  Generally only done with versions of the survey that are not available for live, active surveys.
|}


=Nutzung von Einmalpasswörtern=
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.


Seit Version 1.81 ist es möglich, den Login über /limesurvey/admin aufzurufen und gleichzeitig einen Benutzernamen und ein Einmalpasswort, das zuvor von einer externen Anwendung in die Tabelle ''users'' (Spalte one_time_pw)geschrieben wurde, per URL zu übertragen.
<center>[[File:UserGroupSurveyPermissions.png]]</center>


To enable this login method [[Optional settings#Use_one_time_passwords |a setting has to be turned on]] ($use_one_time_passwords = true;) in config.php.
After you finished editing the survey permissions, click on the '''Save''' button, which is located in the upper right part of the screen.


'''Nutzung von Einmalpasswörtern'''
Some examples are provided [[Manage_users#Examples|below]] in order to help you get a better understanding of the Limesurvey's survey permissions system.


Seit Version 1.81 kann ein Nutzer den LimeSurvey-Login unter /limesurvey/admin aufrufen und einen Benutzernamen sowie ein Einmalpasswort, das zuvor von einer externen Anwendung in die Benutzertabelle von LimeSurvey geschrieben wurde, per URL übergeben.
{{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.}}


Um diese Loginmethode nutzen zu können, muss [http://docs.limesurvey.org/tiki-index.php?page=Installationsanleitung#5_2_Optionale_Einstellungen eine Einstellung] ($use_one_time_passwords = true;) in config.php vorgenommen werden.
=Examples=


Die URL muss die folgenden Parameter enthalten:
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.
* '''username:''' Der Benutzername, mit dem sich der Benutzer standardmäßig bei LimeSurvey anmeldet. Dieser muss in der Tabelle ''users'' vorhanden sein.
* '''onepass:''' Das Passwort im Klartext, es wird dann mit dem in der Datenbank hinterlegten Passwort abgeglichen


Eine korrekte URL für einen Login mittels Einmalpasswort sieht wie folgt aus:
==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).


Eine gültige URL für ein Login mit einem Einmal-Passwort wird wie folgt aussehen...
==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.


... für 1.81 bis 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.yourdomain.org/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'''.


...für 2.0 oder neuer:
<center>[[File:LimeSurveyCusomerOwnStatistics.jpg]]</center>


<div class="simplebox">http://www.yourdomain.org/limesurvey/admin/admin.php?username=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.


'''Zu beachten:'''
{{Note|Check our [[LimeSurvey Users|wiki section on users]] and their classification as it can be found in the code and documentation.}}
* Einmalpasswörter müssen aktiviert sein, indem folgende Einstellung in config.php hinzugefügt wird: "$use_one_time_passwords = true;" (für 1.92), respektive "use_one_time_passwords => true" (für 2.0 in der config Sektion)
* Der übergebene Benutzername muss in der Tabelle ''users'' existieren
* Das Einmalpasswort, welches von einer externen Anwendung in die ''users''-Tabelle (Spalte ''one_time_pw'') geschrieben wurde, muss als [http://de.php.net/md5 MD5 hash] abgelegt sein
* Das im Klartext übergebene Passwort wird beim Login mittels md5() Funktion gehasht und anschließend mit dem in der Datenbank hinterlegten Passwort abgeglichen. Beide Passwörter müssen übereinstimmen.
* Nach dem einmaligen Login wird das Einmalpasswort aus der Datenbank gelöscht und eine automatische Anmeldung mit diesem Passwort ist nicht mehr möglich.

Revision as of 20:20, 2 February 2018

Benutzerverwaltung

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).

Benutzer erstellen

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.
  • User groups: This permission allows a user to create/view/update/delete user groups.
  • 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.

Nutzung von Einmalpasswörtern

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).

Nutzung von Einmalpasswörtern

Seit Version 1.81 kann ein Nutzer den LimeSurvey-Login unter /limesurvey/admin aufrufen und einen Benutzernamen sowie ein Einmalpasswort, das zuvor von einer externen Anwendung in die Benutzertabelle von LimeSurvey geschrieben wurde, per URL übergeben.

Um diese Loginmethode nutzen zu können, muss eine Einstellung ($use_one_time_passwords = true;) in config.php vorgenommen werden.

Die URL muss die folgenden Parameter enthalten:

  • username: Der Benutzername, mit dem sich der Benutzer standardmäßig bei LimeSurvey anmeldet. Dieser muss in der Tabelle users vorhanden sein.
  • onepass: Das Passwort im Klartext, es wird dann mit dem in der Datenbank hinterlegten Passwort abgeglichen

Eine korrekte URL für einen Login mittels Einmalpasswort sieht wie folgt aus:

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.