Close #684. Return the permissions when listing a db user