{"id":22477702,"url":"https://github.com/dcc6fvo/php-glpi-mod","last_synced_at":"2025-08-04T08:35:18.897Z","repository":{"id":87271380,"uuid":"598339477","full_name":"dcc6fvo/php-glpi-mod","owner":"dcc6fvo","description":"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.","archived":false,"fork":false,"pushed_at":"2023-02-10T14:11:05.000Z","size":340,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T20:47:22.698Z","etag":null,"topics":["entities","entity","glpi","ldap","php","support","tickets"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcc6fvo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-06T22:38:52.000Z","updated_at":"2024-05-31T08:55:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0b742e1-b11b-4d7e-b7ad-f0128eafaa4f","html_url":"https://github.com/dcc6fvo/php-glpi-mod","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcc6fvo/php-glpi-mod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-glpi-mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-glpi-mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-glpi-mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-glpi-mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcc6fvo","download_url":"https://codeload.github.com/dcc6fvo/php-glpi-mod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fphp-glpi-mod/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268670943,"owners_count":24288082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["entities","entity","glpi","ldap","php","support","tickets"],"created_at":"2024-12-06T14:11:59.804Z","updated_at":"2025-08-04T08:35:18.878Z","avatar_url":"https://github.com/dcc6fvo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-glpi-mod\n\nThis 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.\n\nFirst you need to make some modifications to GLPI, and then just copy the files suggested in the installation session.\n\nPrerequisites\n-----------------------\n  - A GLPI 10.0.x running instance\n\nConfig\n-----------------------\n\nThe following represents a step by step to configure the glpi installation that will be modified:\n\n  1) Organize your entities with at least one root entity and its subentities;\n  2) Create a \"Home\" profile;\n  3) On your \"Home\" profile main tab, set your fresh \"Home\" profile as the Default Profile;\n  4) On your \"Home\" profile assistance tab, uncheck all the options;\n  5) Last but not least, access Administration \u003e Users and add the root entity with the home profile;\n  \n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/entities.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/profiles.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/profile-home-profiles.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/profile-home-assistance.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/admin-user-authorization.png\"\u003e\n\u003c/p\u003e\n\nInstall\n-----------------------\nThe 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:\n\n```\n  if (isset($_SESSION['glpiactiveprofile'])) {\n        if ($_SESSION['glpiactiveprofile']['name'] == 'Home'){\n            MudarEntidade::show();\n        }\n  }  \n```\n\nFinally\n-----------------------\nIf everything went well, the user's home screen will look something like this:\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/user-home-page.png\"\u003e\n\u003c/p\u003e\n\nFeel free to modify the code as needed !!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcc6fvo%2Fphp-glpi-mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcc6fvo%2Fphp-glpi-mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcc6fvo%2Fphp-glpi-mod/lists"}