glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
46 stars 27 forks source link

No access to Inventory Agents #496

Closed fab44240 closed 5 months ago

fab44240 commented 5 months ago

Describe the bug

I update GLPI on 10.0.14 and glpiinventory to 1.3.5. Since this upgrade, no one can access to [ Inventory][ Agents] to monitor agent except super-admin accounts. I try to update profiles but theres no "Agent management" tab even if I check all the profile for the plugin... We should access to this section vene if we are not the full administrator ? Is there a misconfiguration with this update ?

To reproduce

Try to acces Administratiion -> GLpi inventory -> There is no agent management tab in general section if we are not full admin GLPI. The link http://myglpi/front/agent.php did not work if we are not GLPI admin.

Expected behavior

I wish I can edit profiles to choose which profiles could acces to agent management

Operating system

Linux

GLPI Agent version

1.6.1, Other (See additional context below)

GLPI version

Other (See additional context below)

GLPIInventory plugin

1.3.5

Additional context

GLPI v10.0.14, a lot off agent version : (fusioninventory, glpi agent 1.5 to 17.)

trasher commented 5 months ago

That sounds like an configuration issue rather than a bug. Also, agents management is done core, not from the plugin.

ACLs can be found in profiles administration tab: image

fab44240 commented 5 months ago

I try to check all case but the agent management section does no appear and the direct link redirect to main page. Is it a glpi inventory plugin bug or a glpi bug. It seeams to be a right acces failed. I have the same problem on anothers GLPI server.

arthurrschaefer commented 5 months ago

@fab44240 you might need to add the option to Import inventories so you may access the page where the Agents button is.

image

This way, it worked.

@trasher without adding, at least, the import ability, the Administration > Inventory menu won't appear, and the user must use the direct hyperlink to access it (https://server/front/agent.php)

fab44240 commented 5 months ago

Hello, Thank you, it works !

Le lun. 8 avr. 2024 à 22:16, Arthur Schaefer @.***> a écrit :

@fab44240 https://github.com/fab44240 you might need to add the option to Import inventories so you may access the page where the Agents button is.

image.png (view on web) https://github.com/glpi-project/glpi-inventory-plugin/assets/13874922/59e68171-55e0-4c1e-af6a-fc5e4aa3c31f

This way, it worked.

@trasher https://github.com/trasher without adding, at least, the import ability, the Administration > Inventory menu won't appear, and the user must use the direct hyperlink to access it ( https://server/front/agent.php)

— Reply to this email directly, view it on GitHub https://github.com/glpi-project/glpi-inventory-plugin/issues/496#issuecomment-2043567574, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAQZMW4M4C2CTRKOLK4OF23Y4L3JXAVCNFSM6AAAAABF4X2LAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGU3DONJXGQ . You are receiving this because you were mentioned.Message ID: @.***>