-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I'm building an SPA and I managed to authenticate, however, there's no API that could provide me the org chart related data I need. I was hoping an authenticated SPA LDAP user would be able to fetch who are the people reporting to him/her.
My SPA uses a data structure [1] which is a stripped down data structure from the Phonebook data. The data structure does not have to be exactly like that, however, I need to be able to build a graph of who's reporting to the authenticated user.
The current SPA with fake org data is here:
https://bugzilla-management-dashboard.netlify.com/

The "Reportees" list of people is based on the fakeOrg.json file.
The "Components" tab is built by also correlating the reportees to the list of Bugzilla components.

If someone was to help you implementing such API (it is unlikely it will be but it could happen), what are the steps to set up a development instance? What code changes would it be required?
[1]
https://github.com/mozilla/bugzilla-dashboard/blob/master/src/static/fakeOrg.json
[
{
"cn": "Incredi BleCoder",
"mail": "ic@mozilla.com",
"manager": {
"dn": "mail=someone@mozilla.com,o=com,dc=mozilla"
}
},
{
"cn": "Mickey Husk",
"bugzillaEmail": "someone@mydomain.com",
"mail": "someone@mozilla.com",
"manager": {
"dn": "mail=manager@mozilla.com,o=com,dc=mozilla"
}
},
{
"cn": "Jessica DeLaure",
"mail": "manager@mozilla.com",
"manager": null
}
][2]
https://github.com/mozilla/bugzilla-dashboard/blob/master/src/static/triageOwners.json
{
"ic@mozilla.com": [],
"someone@mydomain.com": [
{
"product": "Core",
"component": "DOM"
},
{
"product": "Core",
"component": "DOM: Core & HTML"
},
<--trim-->
]
}