this code is for example. it works fine creating Entity A But then i got this error on entity B : (ERROR_GLPI_ADD) No permission [...]
I'm with a RECURSIVE super-admin profile.
This post in french is the closest i'm able to identify myself. But i didn't find a change_active_entity in glpi_api python module.
Hi everyone, i'm trying to create two entities...
I've got : Root i want : Root > A > B
So after initializing my glpi_api session here's my code:
glpi.add("Entity", {'entities_id':'0', 'name':'A'}) glpi.add("Entity", {'entities_id: '1', 'name':'B'})
this code is for example. it works fine creating Entity A But then i got this error on entity B : (ERROR_GLPI_ADD) No permission [...] I'm with a RECURSIVE super-admin profile.
This post in french is the closest i'm able to identify myself. But i didn't find a change_active_entity in glpi_api python module.
https://forum.glpi-project.org/viewtopic.php?id=288539
Do you have ideas ? Thanks