opendcim / openDCIM

An open source (GPL v3) Data Center Inventory Management (DCIM) application.
http://opendcim.org
305 stars 204 forks source link

Can not find API call to retrieve people department membership #1536

Open ranzbak opened 4 months ago

ranzbak commented 4 months ago

I'm writing an application that allows users to fill out change forms, and I only want to show users hardware that is in the same department as they are. The problem I run into is that I cannot find and API call that will tell me what user is member of what department(s)

To Reproduce Steps to reproduce the behavior: For example the API call: api/v1/people/bydepartment/95 is not implemented. And the department API does not seem to return people

Were you able to reproduce this on the dev or demo sites?

Yes, no implementation that I could find there either.

Expected behavior An API call needs to exist to retrieve what users belong to what department.

Screenshots API .. so no

Desktop (please complete the following information):