Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(current-user): add getUserGroupIds, allow custom fields in getUse…
…rGroups (DHIS2-10625) (#280) * fix(current-user): allow custom fields in getUserGroups (DHIS2-10625) This allows to override fields=:all to reduce the response size. One example is the Interpretations component, where only the group ids are actually needed. * feat: add method for accessing group ids directly Current user group ids are already available from the /me response. Add a method for accessing them directly without making any api request. In some cases the ids are all is needed (ie. Interpretations component). Related to DHIS2-10625.
- Loading branch information