Custom Reporting -- Limit Viewing A Report By A Task: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Este artículo aplica para la versión '''4.0.16''' de iHRIS y posteriores.
This article applies to version '''4.0.16''' of iHRIS and later.


Puede limitar la visualización de un informe (una vista de informe) a ciertos usuarios al asignar una tarea a una vista de informe. Este es un proceso de tres pasos.   
You can limit displaying a report (a report view) to certain users by assigning a task to a report view. This is a three step process.   


En el ejemplo que sigue, avanzaremos por los tres pasos donde queremos limitar la visualización de la lista de instalaciones para el rol de "Executive Manager".   
In the example below, we go through the three steps where we want to limit viewing the facility list to the "Executive Manager" role.   




==Paso 1: Crear una Tarea Nueva==
==Step 1: Create A New Task==
El primer paso es crear una tarea nueva lo cual requiere [[#Enabling the Tasks and Roles Module | Task and Roles module to be enabled]].
The first step is to create a new task which requires the [[#Enabling the Tasks and Roles Module | Task and Roles module to be enabled]].


Una vez que el módulo Tasks and Roles esté habilitado se hace lo siguiente:
One the Tasks and Roles module is enabled do the following:
*Haga click en "Configure System"
*Click "Configure System"
*Haga click en "Tasks Roles"  
*Click "Tasks Roles"  
*Haga click en "Administer Tasks"
*Click "Administer Tasks"
*Vaya a la parte de abajo de la página
*Scroll down to the bottom of the page
Una vez que esté en la parte de abajo de la página, puede crear una tarea nueva. Aquí se crea una tarea con:
Once you have scrolled down to the bottom of the page, you can create a new task. Here we create a task with:
*El Nombre puesto en "view_facility_list_report"
*The Name set to "view_facility_list_report"
*La descripción puesta en "Task to restrict access to the facility list report"
*The description set to "Task to restrict access to the facility list report"
[[File:create_report_task.png]]
[[File:create_report_task.png]]


''Nota:'' También puede utilizar una tarea existente en lugar de crear una nueva.
''Note:'' You can also use an existing task rather than create a new one.


==Paso 2: Asignar la Tarea a un Rol==
==Step 2: Assign The Task To A Role==
Ahora que hemos creado una tarea nueva para el informe, necesitamos asignarla a los roles de uso que nos interesen.
Now that we have created a new task for the report, we need to assign it to the use roles that we are interested in.
*Haga click en "Configure System"
*Click "Configure System"
*Haga click en "Tasks Roles"  
*Click "Tasks Roles"  
*Haga click en "Administer Roles"
*Click "Administer Roles"
*Haga click en el rol que le interese, en este caso es "Executive Manager"
*Click on the role you are interested in, in this case it is "Executive Manager"
*Bajo "Role Tasks" selecciones la tarea que acaba de crear:  "Task to restrict access to the facility list report"
*Under "Role Tasks" select the task you just created:  "Task to restrict access to the facility list report"
**'''Advertencia''': En versines anteriores a la ''4.0.17'' el campo "Role Tasks" es "multiple select".  Para seleccionar la tarea tendrá que:
**'''Warning''': In versions prior to ''4.0.17'' the "Role Tasks" field is a "multiple select".  In order to select the task you will need to:
***buscar en la lista de selección hasta que encontrar la tarea
***scroll through the selection list until you find the task
***presionar la tecla '''[CTRL]'''
***hold down the '''[CTRL]''' key
***hacer click en la tarea
***click on the task
***soltar la tecla '''[CTRL]'''
***release the '''[CTRL]''' key
***Sí no presiona la tecla control, deseleccionará todas las otras tareas ya asociadas a ese rol. Sí lo hace de manera accidental, recargue la página antes de hacer click en el botón "Create"  
***If you do not hold down the control key, you will de-select all of the other tasks already associated to that role. If you do so accidently, reload the page before you click the "Create" button
**Empezando desde la versión 4.0.17, hay una lista de selección de casillas más fácil de usar para cada tarea asignada a los roles.  Simplemente seleccione la casilla junto al rol
**In version starting with 4.0.17, there is an easier to use check box list for each of the tasks assigned to the roles.  Simply check the checkbox next to the role
*Haga click en el botón "Create"
*Click the "Create" button


Repita esto con cada rol que desee que pueda visualizar el informe.
Repeat this for each role you want to allow to view the report.
[[File:add_task_to_role.png]]
[[File:add_task_to_role.png]]


==Paso 3: Asignar la Tarea a la Visualización del Informe==   
==Step 3: Assign The Task To The Report View==   
Ahora podemos asignar la tarea a la vista del informe a la que nos interesa restringir el acceso.
We can now assign the task to the report view we are interested in restricting access to.
**Haga click en "Configure System"
**Click "Configure System"
**Haga click en "Report Views" under "Manage Reports"
**Click "Report Views" under "Manage Reports"
**Seleccione la tarea "Task to restrict access to the facility list report" bajo "Report View Permissions"
**Select the task "Task to restrict access to the facility list report" under "Report View Permissions"
**Haga click en "Update"
**Click "Update"


Ahora, solo los usuarios con el rol "Executive Manager" pueden ver el informe de listas de instalaciones.
Now, only the users with the role "Executive Manager" can see the facility list report.
[[File:limit_report_to_task.png]]
[[File:limit_report_to_task.png]]


==Habilitar el Módulo de Tareas y Roles==
==Enabling the Tasks and Roles Module==
Para habilitar en módulo de tareas y roles, el cual permite editar tareas y roles a través de la interfaz web, siga los pasos siguientes:
To enable the tasks and roles module, which allows you to edit tasks and roles via the web interface, follow the following steps:
*Haga click en "Configure System"
*Click "Configure System"
*Haga click en "Configure Modules"
*Click "Configure Modules"
*Haga click en "Sub-Modules" to the right of "Pages"
*Click on "Sub-Modules" to the right of "Pages"
*Seleccione el módulo "Roles and Tasks"  
*Select the "Roles and Tasks" module
*Haga click en "Update"
*Click "Update"


[[Category:Technical Overview]][[Category:Reports]][[Category:Review2013]]
[[Category:Custom Reporting]][[Category:Review2013]]

Latest revision as of 14:25, 8 November 2013

This article applies to version 4.0.16 of iHRIS and later.

You can limit displaying a report (a report view) to certain users by assigning a task to a report view. This is a three step process.

In the example below, we go through the three steps where we want to limit viewing the facility list to the "Executive Manager" role.


Step 1: Create A New Task

The first step is to create a new task which requires the Task and Roles module to be enabled.

One the Tasks and Roles module is enabled do the following:

  • Click "Configure System"
  • Click "Tasks Roles"
  • Click "Administer Tasks"
  • Scroll down to the bottom of the page

Once you have scrolled down to the bottom of the page, you can create a new task. Here we create a task with:

  • The Name set to "view_facility_list_report"
  • The description set to "Task to restrict access to the facility list report"

Note: You can also use an existing task rather than create a new one.

Step 2: Assign The Task To A Role

Now that we have created a new task for the report, we need to assign it to the use roles that we are interested in.

  • Click "Configure System"
  • Click "Tasks Roles"
  • Click "Administer Roles"
  • Click on the role you are interested in, in this case it is "Executive Manager"
  • Under "Role Tasks" select the task you just created: "Task to restrict access to the facility list report"
    • Warning: In versions prior to 4.0.17 the "Role Tasks" field is a "multiple select". In order to select the task you will need to:
      • scroll through the selection list until you find the task
      • hold down the [CTRL] key
      • click on the task
      • release the [CTRL] key
      • If you do not hold down the control key, you will de-select all of the other tasks already associated to that role. If you do so accidently, reload the page before you click the "Create" button
    • In version starting with 4.0.17, there is an easier to use check box list for each of the tasks assigned to the roles. Simply check the checkbox next to the role
  • Click the "Create" button

Repeat this for each role you want to allow to view the report.

Step 3: Assign The Task To The Report View

We can now assign the task to the report view we are interested in restricting access to.

    • Click "Configure System"
    • Click "Report Views" under "Manage Reports"
    • Select the task "Task to restrict access to the facility list report" under "Report View Permissions"
    • Click "Update"

Now, only the users with the role "Executive Manager" can see the facility list report.

Enabling the Tasks and Roles Module

To enable the tasks and roles module, which allows you to edit tasks and roles via the web interface, follow the following steps:

  • Click "Configure System"
  • Click "Configure Modules"
  • Click on "Sub-Modules" to the right of "Pages"
  • Select the "Roles and Tasks" module
  • Click "Update"