You are not logged in.
Pages: 1
hi,
I want to add a new right 'create_leave' just like 'create_ticket' to the haveRight
so i can add it in the helpdesk, I'm already add a column to the glpi_profiles i call it create_leave = 1 to all (just like create_ticket).
but doesn't work!
if (Session::haveRight("create_leave","1")) {
show me something; }
what can i do?
Offline
You have create the new right must have you put it in the session?
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
yes I have to. so what files i must change? you have to know that I add a column `leavereq` to table `glpi_profiles` default = w to id > 0
Last edited by douzr12 (2017-02-28 13:19:47)
Offline
Pages: 1