feat: version 2.15.0 -- pestaña Compartir en Equipos (acceso de solo lectura)

Admin/superadmin dan acceso de solo lectura (Resumen, Equipos, Software) a otros usuarios;
el backend valida el acceso en cada endpoint y el menu aparece solo a quien lo tenga.
Migracion 026 (device_viewers).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Milton Gonzalez
2026-10-20 08:32:53 -05:00
parent d5f09dc91b
commit d60b4b1d77
13 changed files with 209 additions and 29 deletions
+22
View File
@@ -199,6 +199,17 @@ export const messages = {
eq_installer_tag: 'Etiqueta opcional (ej. Contabilidad)',
eq_installer_download: 'Descargar instalador',
eq_installer_note: 'El .bat contiene el token: compártelo solo con quien instale. Descarga el agente oficial de GitHub; si el equipo no tiene internet, copia el .msi junto al .bat.',
eq_tab_share: 'Compartir',
eq_share_title: 'Compartir el menú Equipos',
eq_share_hint: 'Da acceso de solo lectura (Resumen, Equipos y Software) a usuarios que por su rol no lo ven. No podrán editar, ver agentes ni compartir.',
eq_share_pick: 'Elegir usuario...',
eq_share_add: 'Dar acceso',
eq_share_empty: 'Aún no has compartido Equipos con nadie.',
eq_share_role: 'Rol',
eq_share_since: 'Acceso desde',
eq_share_remove: 'Quitar acceso',
eq_share_remove_title: 'Quitar acceso a Equipos',
eq_share_remove_msg: 'dejará de ver el menú Equipos.',
eq_tab_summary: 'Resumen',
eq_show_components: 'Mostrar actualizaciones, drivers y componentes del sistema',
eq_btn_info: 'Información',
@@ -663,6 +674,17 @@ export const messages = {
eq_installer_tag: 'Optional tag (e.g. Accounting)',
eq_installer_download: 'Download installer',
eq_installer_note: 'The .bat contains the token: share it only with whoever installs. It downloads the official agent from GitHub; if the machine has no internet, put the .msi next to the .bat.',
eq_tab_share: 'Share',
eq_share_title: 'Share the Devices menu',
eq_share_hint: 'Give read-only access (Summary, Devices and Software) to users whose role does not see it. They cannot edit, see agents or share.',
eq_share_pick: 'Pick a user...',
eq_share_add: 'Grant access',
eq_share_empty: 'You have not shared Devices with anyone yet.',
eq_share_role: 'Role',
eq_share_since: 'Access since',
eq_share_remove: 'Remove access',
eq_share_remove_title: 'Remove access to Devices',
eq_share_remove_msg: 'will no longer see the Devices menu.',
eq_tab_summary: 'Summary',
eq_show_components: 'Show updates, drivers and system components',
eq_btn_info: 'Information',