Note in the API Documentation that Get User Groups only retrieves/sets auxiliary groups
The documentation for http://api.freenas.org/resources/account.html#get-user-groups Get User Groups is a little confusing. I would have the expectation based on the documentation that the API endpoint returns the groups for a particular user. However in newly installed FreeNAS server, ever user is returning exactly 0 groups. The question I have is does this API endpoint only return groups that are not primary to the user? If so, this should be documented. If this is not the not the case, then it is probably a bug within the API itself. For the time being, I shall classify this as a documentation bug.
#4 Updated by Dru Lavigne over 3 years ago
- Subject changed from API Documentation for Get User Groups to Note in the API Documentation that Get User Groups only retrieves/sets auxiliary groups
- Status changed from Ready For Release to Done
- Needs Doc changed from Yes to No
- Needs Merging changed from Yes to No