fixes #5945 - API v2 roles missing data

Oh, thanks.

Do you think that might be a bit verbose in an index view, with both filters and permissions?