You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-07-10 20:03:58

viert
Member
Registered: 2023-07-10
Posts: 2

API for Impact analysis items always returns 403

Hey folks,

We've been trying to adopt GLPI Rest API, and it looks like there are no "rights" associated with ImpactItem/ImpactRelation model while API is still trying to check them.

I can't find anything related to the Impact analysis section on the Profile page, moreover, it seems that I have _all_ the checkboxes ticked for our "Super-Admin" profile.
All the API handlers like /Computer, /Location, etc. work fine but with /ImpactItem I keep getting 403 "ERROR_RIGHT_MISSING You don't have permission to perform this action."

Any advice would be appreciated

Offline

#2 2023-07-11 02:42:46

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: API for Impact analysis items always returns 403

This isn't designed to be accessed directly in the UI and it isn't designed to have special support for the API.
What data are you hoping to get from the API for this? We are designing a new/additional API for GLPI 10.1 and it may be possible to add this data in that.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-07-11 12:54:25

viert
Member
Registered: 2023-07-10
Posts: 2

Re: API for Impact analysis items always returns 403

We'd like to store arbitrary directional links between arbitrary items which, from our perspective, the Impact analysis functionality is suitable for. A good example would be storing really complex database replication diagrams. The aim is to have such a graph fetchable via API along with visualization in the UI "for free".

Offline

Board footer

Powered by FluxBB