Include direct permission group details

This adds permissions details for groups that don't have any subgroups.