An open API service indexing awesome lists of open source software.

https://github.com/dcc6fvo/php-glpi-mod

This is a modification for GLPI 10.0.x that allows users to open tickets in entities other than the root entity, accessing them through buttons in the front page.
https://github.com/dcc6fvo/php-glpi-mod

entities entity glpi ldap php support tickets

Last synced: 11 months ago
JSON representation

This is a modification for GLPI 10.0.x that allows users to open tickets in entities other than the root entity, accessing them through buttons in the front page.

Awesome Lists containing this project

README

          

# php-glpi-mod

This is a modification for GLPI 10.0.x that allows users to access and open tickets in entities other than the root entity, accessing them through the buttons in the "Home" profile / root entity. The "Home" profile must be configured on the root entity. In this model, users cannot open tickets in the root entity, only in the sub-entities. For this context we consider there are no people managing the root entity, only people in their departments/entities who are responsible only for them.

First you need to make some modifications to GLPI, and then just copy the files suggested in the installation session.

Prerequisites
-----------------------
- A GLPI 10.0.x running instance

Config
-----------------------

The following represents a step by step to configure the glpi installation that will be modified:

1) Organize your entities with at least one root entity and its subentities;
2) Create a "Home" profile;
3) On your "Home" profile main tab, set your fresh "Home" profile as the Default Profile;
4) On your "Home" profile assistance tab, uncheck all the options;
5) Last but not least, access Administration > Users and add the root entity with the home profile;











Install
-----------------------
The install is very easy. First copy the MudarEntidades.php file to the GLPI src/ folder. Then, add the following code to front/helpdesk.public.php:

```
if (isset($_SESSION['glpiactiveprofile'])) {
if ($_SESSION['glpiactiveprofile']['name'] == 'Home'){
MudarEntidade::show();
}
}
```

Finally
-----------------------
If everything went well, the user's home screen will look something like this:



Feel free to modify the code as needed !!