Changing the visibility test in groups service to be UUID.Zero.ToString() instead of "all" because some paths in the code assume there's a UUI in the RequestingAgent string.

This commit is contained in:
Diva Canto
2013-07-28 18:08:50 -07:00
parent 468ddd2373
commit 33b54807a1
4 changed files with 9 additions and 5 deletions

View File

@@ -257,8 +257,8 @@ namespace OpenSim.Groups
// Check visibility?
// When we don't want to check visibility, we pass it "all" as the requestingAgentID
bool checkVisibility = !RequestingAgentID.Equals("all");
m_log.DebugFormat("[ZZZ]: AgentID is {0}. checkVisibility is {1}", RequestingAgentID, checkVisibility);
bool checkVisibility = !RequestingAgentID.Equals(UUID.Zero.ToString());
if (checkVisibility)
{
// Is the requester a member of the group?