You are not logged in.
Pages: 1
Topic closed
Hi all,
I need to enable a user to modify the description o delete a ticket if he's wrong in writing o selecting some value in combo box.
But I want to remain with Simplified interface and we don't enable Standard interface...
Is there a way to do ?
thanks
Offline
Version of GLPI ?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Excuse me!! GLPI version 0.78.5
Offline
In 0.80, a user, even post-only, can modify his ticket if nobody has begin to work on it
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
and in 0.78.5 no chance to have this?
If not, can you give me some detail where to modify the code?
so I can post my solution for all users that use glpi 0.78.5.
it's impossible to change version of GLPI everytime there is a change in the features....because it's on production...
thanks
Last edited by robbiefpi (2011-08-02 10:06:23)
Offline
Please can you give me some detail to adjust this? If I succeed in it, i can share with the community
Offline
In CanDeletItem of a ticket, add something like this before return haveRight
if ($this->fields['users_id'] === getLoginUserID())
&& $this->numberOfFollowups() == 0
&& $this->numberOfTasks() == 0
&& $this->fields["date"] == $this->fields["date_mod"]) {
return true;
}
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
In CanDeletItem of a ticket, add something like this before return haveRight crate training puppies puppy aggression puppy whining puppy growling weaning puppies puppy chewing puppy separation anxiety puppy crying
if ($this->fields['users_id'] === getLoginUserID()) how to leash train a puppy why do dogs eat grass j k l m n o p q
&& $this->numberOfFollowups() == 0 why do dogs eat poop puppy toilet training puppy training
&& $this->numberOfTasks() == 0 puppy training tips puppy barking puppy biting house training a puppy
&& $this->fields["date"] == $this->fields["date_mod"]) { how often should i feed my puppy a b c d e f g h i
return true; r buy marijuana seeds weed seeds for sale buy cannabis seeds cannabis seeds for sale
} pot seeds for sale northern lights weed
Seems to be doing the trick for me so far, had the same query.. i'l report back if i have any problems, thanks
Offline
have you understand the problem,nerfherder?
Offline
nerfherder : Problem solved, i close
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1
Topic closed