Right now, if we "Delete" a request ticket from backend, it gets deleted and every trace of it is also erased from the database, to be specific, from "ticket" and "ticket_request".
But, I want to make it retain all the tickets in the database and only change its status to something "Cancelled" so admins can view them even if the assigned employees remove them.
I know that we can only add a new Status to LifeCycle. Even, I had noticed in of the files a "To-DO" which was referring to the same thing. So, is there anyone who has already done this or any suggestion or recommendation?
I am using version 2.6.3.
Regards
Mushrraf Baig Ashraf
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, let's say I have enabled Archiving on Tickets and added a state "Cancelled" for Request Ticket.
So now, I have to remove "Delete" from "Other Options" menu. So, this option is no longer available for the user. Where can I achieve this? Any clue would be helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Creating and assigning a custom profile without the "delete" right for the needed classes should do the trick ?
Have a look at Creating new Profiles [iTop Documentation]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello! Hopefully you are fine!
Right now, if we "Delete" a request ticket from backend, it gets deleted and every trace of it is also erased from the database, to be specific, from "ticket" and "ticket_request".
But, I want to make it retain all the tickets in the database and only change its status to something "Cancelled" so admins can view them even if the assigned employees remove them.
I know that we can only add a new Status to LifeCycle. Even, I had noticed in of the files a "To-DO" which was referring to the same thing. So, is there anyone who has already done this or any suggestion or recommendation?
I am using version 2.6.3.
Regards
Mushrraf Baig Ashraf
Hello,
You may be interested in the archive mechanism introduced in iTop 2.4 ?
See this wiki page : Archiving [iTop Documentation]
Thank you for your really helpful reply!
So, let's say I have enabled Archiving on Tickets and added a state "Cancelled" for Request Ticket.
So now, I have to remove "Delete" from "Other Options" menu. So, this option is no longer available for the user. Where can I achieve this? Any clue would be helpful.
Creating and assigning a custom profile without the "delete" right for the needed classes should do the trick ?
Have a look at Creating new Profiles [iTop Documentation]
Thank you @Pierre!
In fact, I am trying to disable "delete" action for Admin, outright. So, I tried the following:
which clearly means that I can't curb an "Admin" : )
So, there is no way of achieving this through Extension. Right?
Indeed the Administrator profile can't be changed... But you can create another profile as a replacement !