You are not logged in.
Pages: 1
Hi
I'm using 83.8 + webservices + behaviours.
My workflow should be the following - new ticket -> auto assignment based on category + rule (if category under ... -> send approval request) - > wait for approval -> solve -> close
At the moment, I can solve (and close) ticket while it's waiting for approval. How to fix it?
Offline
This is the default (expected) behavior.
Exemple
Incident : broken printer
Request for approval to buy a new one (need budget)
Solved by redirect print job to another near printer (workaround)
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
To whom it may concern - quick fix by modification of ticket.class.php:
function canSolve() {
/// TODO block solution edition on closed status ?
return ((Session::haveRight("update_ticket","1")
|| $this->isUser(parent::ASSIGN, Session::getLoginUserID())
|| (isset($_SESSION["glpigroups"])
&& $this->haveAGroup(parent::ASSIGN, $_SESSION["glpigroups"])))
&& self::isAllowedStatus($this->fields['status'], 'solved') && ($this->fields["global_validation"]=='accepted' || $this->fields["global_validation"]=='none'));
}
Last edited by alishchytovych (2013-04-23 11:55:47)
Offline
Pages: 1