ability for profile REST API to includes capabilities

Description

When fetching an user profile with the REST API GET /enterprise/profile the JSON body does not include any capabilities. All capabilities are set to null :

{
"id": 1003,
"name": "sample 2",
"externalId": null,
"status": "active",
"parentGroupId": null,
"tenantId": 1,
"type": 0,
"lastSyncTimeStamp": null,
"userCount": null,
"users": null,
"capabilities": null,
"groups": null,
"manager": null
}
],
"capabilities": null,
"apps": [],
"primaryGroup": null,
"tenantPictureId": null,
"tenantName": "alfresco.com"
}

The customer would like capabilities info to be included

Environment

None

Testcase ID

None

Assignee

Unassigned

Reporter

Clovis Kilobo

Labels

None

Escalated By

None

Security Issue

None

ACT Numbers

00338822

Premier Customer

None

Code Branch

None

Build Location

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Bug Priority

Category 4

Delivery Team

None

Components

Affects versions