1103d1102 < 1117,1125c1116,1125 < < if (GetRequestingAgentID(remoteClient) != dataForAgentID) < { < if (!membership.ListInProfile) < { < // If we're sending group info to remoteclient about another agent, < // filter out groups the other agent doesn't want to share. < continue; < } --- > if (!remoteClient.Scene.Permissions.IsGod(remoteClient.AgentID)) > if (GetRequestingAgentID(remoteClient) != dataForAgentID) > { > if (!membership.ListInProfile) > { > // If we're sending group info to remoteclient about another agent, > // filter out groups the other agent doesn't want to share. > continue; > } > } 1128d1127 < 1237,1242c1236,1237 < // c_scene and property accessor 'is_god' are in support of the opertions to bypass 'hidden' group attributes for < // those with a GodLike aspect. < Scene c_scene = (Scene) requestingClient.Scene; < bool is_god = c_scene.Permissions.IsGod(requestingClient.AgentId); < < if(is_god) { --- > if (requestingClient.AgentId != dataForAgentID) > { 1248c1243 < membershipArray = membershipData.ToArray(); --- > membershipArray = membershipData.FindAll(showInProfile).ToArray(); 1252,1265c1247 < < if (requestingClient.AgentId != dataForAgentID) < { < Predicate<GroupMembershipData> showInProfile = delegate(GroupMembershipData membership) < { < return membership.ListInProfile; < }; < < membershipArray = membershipData.FindAll(showInProfile).ToArray(); < } < else < { < membershipArray = membershipData.ToArray(); < } --- > membershipArray = membershipData.ToArray(); 1266a1249 >