|
const result = data.toObject() |
|
delete result.__t |
|
delete result.__v |
|
delete result._id |
|
return deepRemoveEmpty(result) |
and therefore getOrg in src/controller/org.controller/org.controller.js places
"inUse": false in the
GET /org/:identifier API response (but
"inUse": false is not in the
GET /registry/org/:identifier API response).
There is no documented meaning of inUse and it's realistic to have a mistaken guess that could complicate the process of handling CVE Services misuse by an organization. For example, somebody could guess that false means that the organization has already been marked "not in use" and its users have no access to the server.
There is also a support cost if organizations start worrying about "inUse": false and ask the Secretariat what it means.
cve-services/src/repositories/baseOrgRepository.js
Lines 277 to 281 in 1df06cb
and therefore getOrg in src/controller/org.controller/org.controller.js places
"inUse": falsein theGET /org/:identifierAPI response (but"inUse": falseis not in theGET /registry/org/:identifierAPI response).There is no documented meaning of
inUseand it's realistic to have a mistaken guess that could complicate the process of handling CVE Services misuse by an organization. For example, somebody could guess thatfalsemeans that the organization has already been marked "not in use" and its users have no access to the server.There is also a support cost if organizations start worrying about
"inUse": falseand ask the Secretariat what it means.