Added secondary groups and no hierarchy documentation
This commit is contained in:
parent
e1a3eaf236
commit
90e3a423c4
|
@ -333,7 +333,8 @@ $table->data = array ();
|
|||
|
||||
if (enterprise_installed()) {
|
||||
$secondary_groups_selected = enterprise_hook('agents_get_secondary_groups', array($id_agente));
|
||||
$table->data['secondary_groups'][0] = __('Secondary groups');
|
||||
$table->data['secondary_groups'][0] = __('Secondary groups') .
|
||||
ui_print_help_icon("secondary_groups", true);
|
||||
$table->data['secondary_groups'][1] = html_print_select_groups(
|
||||
false, // Use the current user to select the groups
|
||||
"AR", // ACL permission
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -247,7 +247,8 @@ function profile_print_profile_table ($id) {
|
|||
$tags = tags_get_all_tags();
|
||||
$data["tags"] = html_print_select($tags, 'assign_tags[]', '', '', __('Any'), '', true, true);
|
||||
|
||||
$data["hierarchy"] = html_print_checkbox ('no_hierarchy', 1, false, true);
|
||||
$data["hierarchy"] = html_print_checkbox ('no_hierarchy', 1, false, true) .
|
||||
ui_print_help_icon("no_hierarchy", true);
|
||||
|
||||
$data["actions"] = html_print_input_image ('add', 'images/add.png', 1, '', true);
|
||||
$data["actions"] .= html_print_input_hidden ('id', $id, true);
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/en
|
||||
*/
|
||||
?>
|
||||
<h1>Hierarchy</h1>
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/en
|
||||
*/
|
||||
?>
|
||||
<h1>Secondary groups</h1>
|
||||
|
||||
<p>
|
||||
Unlike the main group, these secondary groups are optional.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The fact that an agent belongs to a secondary group means that, in fact, it belongs to several groups at the same time. With this functionality, two users who have very different permissions will be able to access the same agent just by adding the appropriate secondary groups to it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For example, if an agent named "Portal" has "Infrastructures" as its main group and "Hosting" as its secondary group, any user who has access to "Infrastructures" and/or "Hosting" can access it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Some views, such as the Tree View, can show repeated agents. When using secondary groups, this is the normal behavior.
|
||||
</p>
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/en
|
||||
*/
|
||||
?>
|
||||
<h1>Jerarquía</h1>
|
||||
|
||||
<p>
|
||||
Los permisos de un grupo se pueden extender a los hijos mediante la opción de configuración <b>Propagate ACL</b>. Sin embargo, desde la configuración de usuarios, se puede limitar esta funcionalidad y evitar que el ACL se propague marcando No hierarchy.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Como referencia para los ejemplos, se plantea una configuración con dos grupos padre "Applications" y "Databases" con dos hijos cada uno, "Development_Apps" y "Management_Apps" para el primero y "Databases_America" y "Databases_Asia" para el segundo. Ambos grupos padre están marcados para que se propague el ACL.
|
||||
</p>
|
||||
|
||||
<?php html_print_image("images/help/Acl_hierarchy_groups.png", false, array(
|
||||
"style" => "max-width:100%"
|
||||
)); ?>
|
||||
|
||||
<p>
|
||||
En la vista de edición de usuario, si se añaden los siguientes perfiles:
|
||||
</p>
|
||||
|
||||
<?php html_print_image("images/help/Acl_hierarchy_1.png", false, array(
|
||||
"style" => "max-width:100%"
|
||||
)); ?>
|
||||
|
||||
<p>
|
||||
El usuario tendrá acceso a los grupos "Applications", "Development_Apps", "Management_Apps" y "Databases".
|
||||
</p>
|
||||
|
||||
<p>
|
||||
En cambio, si se añade un hijo de "Databases":
|
||||
</p>
|
||||
|
||||
<?php html_print_image("images/help/Acl_hierarchy_2.png", false, array(
|
||||
"style" => "max-width:100%"
|
||||
)); ?>
|
||||
|
||||
<p>
|
||||
Ahora el usuario podrá acceder a los grupos "Applications", "Development_Apps", "Management_Apps", "Databases" y "Databases_Asia", pero no a "Databases_America".
|
||||
</p>
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/en
|
||||
*/
|
||||
?>
|
||||
<h1>Secondary groups</h1>
|
||||
|
||||
<p>
|
||||
Al contrario que el grupo principal, estos grupos secundarios son opcionales.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
El hecho de que un agente pertenezca a un grupo secundario, significa que, en realidad, pertenece a varios grupos a la vez. Con esta funcionalidad, dos usuarios que tengan permisos muy diferentes podrán tener acceso al mismo agente con solo añadirle los grupos secundarios adecuados.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Por ejemplo, si un agente llamado "Portal" tiene como grupo principal "Infraestructuras" y como grupo secundario "Hosting", cualquier usuario que tenga acceso a "Infraestructuras" y/o a "Hosting" podrá acceder a él.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Algunas vistas, como es el caso del Tree View, pueden mostrar agentes repetidos. Al usar grupos secundarios es el comportamiento normal.
|
||||
</p>
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/en
|
||||
*/
|
||||
?>
|
||||
<h1>Hierarchy</h1>
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/en
|
||||
*/
|
||||
?>
|
||||
<h1>Secondary groups</h1>
|
||||
|
||||
<p>
|
||||
Unlike the main group, these secondary groups are optional.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The fact that an agent belongs to a secondary group means that, in fact, it belongs to several groups at the same time. With this functionality, two users who have very different permissions will be able to access the same agent just by adding the appropriate secondary groups to it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For example, if an agent named "Portal" has "Infrastructures" as its main group and "Hosting" as its secondary group, any user who has access to "Infrastructures" and/or "Hosting" can access it.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Some views, such as the Tree View, can show repeated agents. When using secondary groups, this is the normal behavior.
|
||||
</p>
|
Loading…
Reference in New Issue