Actions

Manage users/es: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 16: Line 16:
*agregar el usuario
*agregar el usuario
*y  [http://www.docs.limesurvey.org/tiki-index.php?page=Survey+security+settings&structure;=English+Instructions+for+LimeSurvey configure los permisos de acceso de la encuesta (En inglés)] para el usuario.
*y  [http://www.docs.limesurvey.org/tiki-index.php?page=Survey+security+settings&structure;=English+Instructions+for+LimeSurvey configure los permisos de acceso de la encuesta (En inglés)] para el usuario.
The user management allows you do add additional administration users to LimeSurvey. In this chapter we will call them just 'users'. Do not confuse them with [[Survey participants|survey participants]].


=Agregar un usuario=
=Agregar un usuario=
Line 27: Line 29:
* Enter the email address into the textfield  '''Email'''. Please note
* Enter the email address into the textfield  '''Email'''. Please note
** 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. After that you can change the email address to the address of the 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. After that you can change the email address to the address of the user.
** LimeSurvey sends out a confirmation email to the address enterd into '''Email'''. This email address will be used as standard contact email address for surveys created by this user.
** LimeSurvey sends out a confirmation email to the address entered into '''Email'''. This email address will be used as standard contact email address for surveys created by this user.
* Enter the users full name into the textfield '''Full name''' . Please note
* Enter the users full name into the textfield '''Full name''' . Please note
** The full name entered here will be used as standard contact person name for surveys created by this user.
** The full name entered here will be used as standard contact person name for surveys created by this user.
Line 72: Line 74:
* '''Settings & Plugins''': With this right a user can check data integrity, save the SQL database to an sql file and view the php info in the global settings. This allow too to manage all plugins.
* '''Settings & Plugins''': With this right a user can check data integrity, save the SQL database to an sql file and view the php info in the global settings. This allow too to manage all plugins.


* '''Users''': Having this right a user can create new users and delete users created with this account. The newly created users cannot have higher permissions than the parent. If this has to be done a '''SuperAdministrator''' has to grant the rights.
* '''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.


* '''User groups'''
* '''User groups'''

Revision as of 12:30, 28 February 2017

Translation of this page is incomplete.

General

Al hacer click en el ícono se abre la ventana para el manejo de usuarios. Dependiendo de los permisos que tenga asignados, podrá cambiar su contraseña o manipular otras cuentas de usuarios cambiando sus privilegios.

En este contexto, el término usuario se refiere a un alguien  que puede hacer login a la interface de administración de encuestas

Si quiere darle a un usuario acceso limitado a una encuesta,

The user management allows you do add additional administration users to LimeSurvey. In this chapter we will call them just 'users'. Do not confuse them with survey participants.

Agregar un usuario

To create a new user open the user management ("Configuration" -> "Manage survey administrators")ː

File:LimeSurveyBenuzerVerwaltung.jpg

  • Enter the desired username into the textfield Username.
  • Enter the email address into the textfield  Email. Please note
    • 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. After that you can change the email address to the address of the user.
    • LimeSurvey sends out a confirmation email to the address entered into Email. This email address will be used as standard contact email address for surveys created by this user.
  • Enter the users full name into the textfield Full name . Please note
    • The full name entered here will be used as standard contact person name for surveys created by this user.
  • Click Add user

A menos que use 'Web server Authentication Delegation', el sistema le envía un email al usuario con toda la información necesaria para hacer login (URL de administración, nombre de usuario y contraseña).

Si el usuario no tiene email, debe volver atrás y cambiar a mano la contraseña; luego, obviamente, debe dársela al usuario.

Configurar los permisos de usuario

You can use the pen symbol to edit a userː

You can set a new email address, full name and even change the password. If you have finished what you want to do click Save.

Delete users

To delete a user account simply click the trash button in the line with the user account that should be deleted and hit OK.

Global permissions

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.

Configurar los permisos de usuario

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

 Hint: This feature changed with version 2.05


The system use CRUD (Create, read, update and delete) like the Survey right setttings. Check the first input check all the line, you can give less or more right for each system.

You can now add or remove the following rights.

  • SuperAdministrator: This right can only be added or removed by the user called admin and grants full rights to the whole LimeSurvey installation. Please note: This right is very powerful and you should be very carfefully with granting this right.
  • Surveys: This give the access to all survey. To allow a user to create and manage his survey, you need only to let the user to create survey. The creator of a survey is the owner of this survey : this give him all access to this survey. Remind each survey can have specific permission, the global permission is read before survey specific permission.
  • Settings & Plugins: With this right a user can check data integrity, save the SQL database to an sql file and view the php info in the global settings. This allow too to manage all plugins.
  • 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.
  • 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/php, Javascript and CSS. If a user not familar with this things should use a specific design template it would be better to give him only acccess to read permission. Each template can have specific permission.
  • Label sets: This right grants rights regarding label sets (create, update , use (view/read) and delete). The label sets don't have specific righth.

Setting template permissions for a user

With template permissions you can set 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 not suitable for a user/survey.

Please note: If you have a specific design template for a group of users or customers you might want to restrict the access for them to use only the template created for their purpose.

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

You can now select the design templates this user can select. After you finished your selection/deselection just hit Save in the upper right corner:

The most important use cases for granting user rights are collected at the use cases part of this article.

Permiso de configurador

Este permiso determina si el usuario puede ejecutar las siguientes acciones:

  • Chequear la integridad de los datos
  • Hacer backups o resguardos de la base de datos
  • Acceder a la información de phpinfo en la pantalla de overview summary

Please note: 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. You don't have to apply any global rights to the user, it is just necessary that the user account itself exists.

Setting user permissions for a single survey

To change the survey permissions you have to select Survey permissions from the Survey properties menu.

In the next step you select the user you want to change the survey rights and click Add user.

After you click Set survey permissions the survey permissions matrix for the survey and user will be shown.

In this matrix you can set the rights for the different features and parts. You simply click  a checkbox if you want to add or remove this right. If you click a checkbox in the first column all rights for this line will be selected/removed.

In the other columns you can choose whether a user can do a single actions from this feature/part.

After you finished editing the survey permissions click Save or Save and close in the upper right corner.

The most important use cases for granting user rights are collected at the use cases part of this article.

Permiso para crear/borrar usuarios

Se le puede dar a un usuario el permiso para crear otros usuarios. En este caso, podran darle a los nuevos usuarios, como mucho, los permisos que ellos mismos tienen, pero no más.

En el caso de que un usuario requiera mayores permisos que su 'padre', el primer superadmin deberá 'adoptar' a este usuario haciendo click en 'Take Ownership', en la linea que describe al usuario.

Sólo entonces el administrador podrá darle al usuario los permisos requeridos.

Por otro lado, un usuario puede tener permisos para borrar los usuarios que ha creado.

A new person in charge for administrating LimeSurvey will be added

  • login as admin
  • Create a new user account
  • Set global permissions for user to SuperAdministrator
  • 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 own surveys

  • login as admin or user with SuperAdministrator permission.
  • Create a new user account
  • Set global permissions for user to Create survey
  • Set template permissions for user to the template/s that should be used by the user/user-group
  • not necessary: Setting the survey permissions (The creator of a survey has all permissions for his/her surveys)

Permisos de superadmin

Un usuario con SuperAdmin tiene el permiso de administrar todos los objetos del sistema (encuestas, preguntas, plantillas, etiquetas, usuarios).

Sin embargo, sólo el primer superadmin (el configurado durante la instalación), puede dar este privilegio a otros usuarios.

Permisos sobre templates o plantillas

El botón 'Set Template Rights' permite especificar qué plantilla puede usar un usuario en sus encuestas. La plantilla 'default' siempre está accesible para todos los usuarios.

NOTA: Aquí estamos hablando del permiso para usar la plantilla, y NO para modificarla.

Permisos sobre Labelset

Este permiso habilita a los usuarios a editar los labelsets globales a todas las encuestas.


To be moved somewhere else once better defined:

There are several classes of possible people who access a LimeSurvey installation.  But only one set of people is actually termed a user in the code and documentation.  So lets understand what these classes of people are so we can better understand the terminology of the program.

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.

Use one-time passwords

Since version 1.81 a user can call the limesurvey login at /limesurvey/admin and pass 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 a setting has to be turned on ($use_one_time_passwords = true;) in config.php.

The URL has to contain the following variables:

  • user: The username normally used to login into LimeSurvey. This username has to exist in the 'users' table of the database.
  • onepass: The plain text password which is then compared to the password in the 'users' table

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

... for 1.81 to 1.92:

...for 2.0 or later:

Things to watch out for:

  • One time passwords have to be enabled by setting "$use_one_time_passwords = true;" (for 1.92), respective "use_one_time_passwords => true" (for 2.0 in config section) in config.php.
  • The passed username has to exist in LimeSurvey's users table
  • The one time password, which can be set by 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 md5() 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 this password is deleted from the database. The user won't be able to login with this password a second time.