     kd.warn err
 
 
-  listMembers: (members) ->
+  listMembers: (members, loggedInUserRoles) ->
 
     unless members.length
       @listController.lazyLoader.hide()

kd                   = require 'kd'
KDView               = kd.View
KDSelectBox          = kd.SelectBox
KDListItemView       = kd.ListItemView
KDCustomHTMLView     = kd.CustomHTMLView
KDListViewController = kd.ListViewController
KDHitEnterInputView  = kd.HitEnterInputView

MemberItemView = require './memberitemview'


module.exports = class TeamMembersCommonView extends KDView

      # collect account ids to fetch user roles
      ids = members.map (member) -> return member.getId()

      myAccountId = whoami().getId()
      ids.push myAccountId

      group.fetchUserRoles ids, (err, roles) =>
        return @handleError err  if err

