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 2022-10-01 21:50:27

tiagochaves
Member
Registered: 2022-10-01
Posts: 3

[SOLVED] Can't create a ticket from a Project task

Hello all,

I'm trying to the projects feature from GLPI 10.0.3 but everytime i try to create an ticket from a project task i always get the error "You don't have permission to perform this action."
I've tested with several users and even with super-admin accounts i get the same error never allowing me to create the ticket associated with the task.
I've also tried to see if could be a permission on the profiles but there is none that states tickets in the projects.

I'm litterally stuck on this one and no amount of google searches and forum searches let me get to a conclusion.

Hope someone can help me on this one.

Best Regards

Tiago Chaves

Last edited by tiagochaves (2022-10-05 22:16:43)

Offline

#2 2022-10-04 12:09:00

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

Re: [SOLVED] Can't create a ticket from a Project task

Do you have anything in the "files/_log/access-errors.log" log?


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

#3 2022-10-04 18:38:13

tiagochaves
Member
Registered: 2022-10-01
Posts: 3

Re: [SOLVED] Can't create a ticket from a Project task

Let me just start to thank you for your help.

Indeed i have this on the acess-errors.log :

2022-10-04 17:34:06 [7@glpi]
User ID: 7 tried to access or perform an action on /front/projecttask_ticket.form.php with insufficient rights. Additional information: User failed a can* method check for right 4 (CREATE) on item Type: ProjectTask_Ticket ID: -1
    Stack Trace:
        /usr/share/glpi/src/CommonDBTM.php:2998 displayRightError()
        /usr/share/glpi/front/projecttask_ticket.form.php:49 check()

The weird bit is this user is a Super-Admin with every permission checked.

Any idea of what it could be?

Best Regards

Tiago CHaves

Offline

#4 2022-10-05 12:00:15

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

Re: [SOLVED] Can't create a ticket from a Project task

Are you clicking on the text "Create a ticket from this task" or just clicking add?
The UI may need changed here to make it clearer, but the Add button is used with the dropdown to link existing tickets, not to add a new ticket from the task.
I only get the error you describe if I click "Add" without selecting an existing ticket from the dropdown.


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 2022-10-05 22:16:02

tiagochaves
Member
Registered: 2022-10-01
Posts: 3

Re: [SOLVED] Can't create a ticket from a Project task

Ok that was my problem, i was clicking add instead of clicking the text!!
Thank you very much for this clarification.

Best Regards

Tiago Chaves

Offline

Board footer

Powered by FluxBB