You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-08-03 21:43:06

master-pfe
Member
Registered: 2024-04-28
Posts: 13

Restricting Drag and Drop Functionality for Ticket Tasks in Planning V

Hello everyone,

I am currently using GLPI and have encountered an issue regarding the planning view for ticket tasks. It seems that users with read-only access to others’ tasks can still drag and drop these tasks within the planning interface, despite not having the permission to modify them.

My question is:
How can I restrict the drag-and-drop functionality for users who do not have the right to modify the tasks of others, but still have read access to their planning?

I have already checked the user rights and profiles but would appreciate any guidance on how to configure this properly. If there are any settings or potential code customizations that I should consider, please let me know.

Thank you for your help!

Best regards,

Offline

#2 2024-08-17 17:23:55

master-pfe
Member
Registered: 2024-04-28
Posts: 13

Re: Restricting Drag and Drop Functionality for Ticket Tasks in Planning V

Up!

Offline

#3 2024-08-19 13:17:26

master-pfe
Member
Registered: 2024-04-28
Posts: 13

Re: Restricting Drag and Drop Functionality for Ticket Tasks in Planning V

Up!

Last edited by master-pfe (2024-08-19 13:17:54)

Offline

#4 2024-08-20 00:30:27

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,809
Website

Re: Restricting Drag and Drop Functionality for Ticket Tasks in Planning V

In general, bumping forum topics isn't going to get a faster answer.

This isn't a configuration issue. There are changes that had/have to be made to the GLPI code.

I made 2 pull requests which have been merged for the 10.0.17 release.
The first improves the check for the UI to restrict the drag/drop.
https://github.com/glpi-project/glpi/pull/17694

The second improves the checks on the server side to ensure more special cases are covered like the fact that you cannot normally edit a task in a closed ticket.
https://github.com/glpi-project/glpi/pull/17695


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#5 2024-09-18 20:25:40

master-pfe
Member
Registered: 2024-04-28
Posts: 13

Re: Restricting Drag and Drop Functionality for Ticket Tasks in Planning V

Thanks, I hope this update comes very soon because we have a problem with this point

Offline

#6 2024-09-18 21:48:29

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,809
Website

Re: Restricting Drag and Drop Functionality for Ticket Tasks in Planning V

The first PR listed is a single line change that fixes the UI side. It wouldn't be difficult to manually apply the change. See the "Files changed" tab in the Pull Request to see the change.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB