Adds a rest controller for the current user's profile
What does this MR do?
Returns some details of the current user's profile, including phone number and home location. These details are used in the Android app facilitate the basket creation (autofill the phone number) and to fall back to the user's home location if the permission for the current location is not granted.
How confident are you it won't break things if deployed?
It just adds a new rest controller and does not break anything. It returns only the profile of the current user and thus can not leak any non public information.
Links to related issues
- added a test, or explain why one is not needed/possible...
- no unrelated changes
- asked someone for a code review
- joined #foodsharing-beta channel at https://slackin.yunity.org
- added an entry to CHANGELOG.md (description, merge request link, username(s))