def member_roles_list(context, data_dict):
 group_type = data_dict.get('group_type', 'organization')
 roles_list = authz.roles_list()
 if (group_type == 'group'):
  roles_list = [role for role in roles_list if (role['value'] != 'editor')]
 _check_access('member_roles_list', context, data_dict)
 return roles_list

def member_roles_list ( context , data_dict ) : group_type = data_dict . get ( 'group_type' , 'organization' ) roles_list = authz . roles_list ( ) if ( group_type == 'group' ) : roles_list = [ role for role in roles_list if ( role [ 'value' ] != 'editor' ) ] _check_access ( 'member_roles_list' , context , data_dict ) return roles_list
return the possible roles for members of groups and organizations .