Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhacement - Registro horario - Mostrar el botón aunque el usuario no tenga permiso de acceso al módulo #378

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ManuSinergiaCRM
Copy link
Collaborator

Descripción

Este PR cambia una de las comprobaciones que realiza el CRM para mostrar el botón de fichaje eficiente de forma que ahora valida si el módulo existe en la configuración de Administración en vez de comprobar si el módulo existían en el menú de usuario.

Pruebas

  1. Crear un usuario no administrador y activar el checkbox de Registro horario.
  2. Relacionar al usuario con un rol donde esté deshabilitado el permiso de acceso al módulo de Registro horario.
  3. Acceder al CRM con este usuario y comprobar que se muestra el botón de registro eficiente.
  4. Acceder con un usuario administrador y deshabilitar el módulo desde Administración / Seleccionar Pestañas de Módulos y Subpaneles
  5. Acceder al CRM con el usuario del punto 1 y comprobar que NO se muestra el botón de registro eficiente.

@ManuSinergiaCRM ManuSinergiaCRM self-assigned this Aug 27, 2024
@ManuSinergiaCRM ManuSinergiaCRM changed the title Enhamcent - Registro horario - Mostrar el botón aunque el usuario no tenga permiso de acceso al módulo Enhacement - Registro horario - Mostrar el botón aunque el usuario no tenga permiso de acceso al módulo Aug 28, 2024
@AlbertoSTIC AlbertoSTIC requested review from PaulaaSTIC and jordiSTIC and removed request for AlbertoSTIC August 29, 2024 15:00
@PaulaaSTIC PaulaaSTIC closed this Aug 29, 2024
@PaulaaSTIC PaulaaSTIC reopened this Aug 29, 2024
Copy link

github-actions bot commented Aug 29, 2024

Actions executed at: 2024-09-11 09:55:10.

Copy link
Collaborator

@PaulaaSTIC PaulaaSTIC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(A)probado

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mejora - Registro horario - Mostrar el botón aunque el usuario no tenga permiso de acceso al módulo
2 participants