From b95b03b409578da87f1dbaf809001e88e4e4fd56 Mon Sep 17 00:00:00 2001
From: onefang
Date: Fri, 11 Sep 2020 00:41:12 +1000
Subject: Automatically add members to certain groups, and HGers from specific
grids to certain other groups.
It doesn't let them know, though the last group added will be their
active group. This replaces a PHP script I used to use, that got broken
by a PHP update. It also didn't let people know, no one complained.
This is better.
Another attempt at sorting out the auto group chicken and egg problems.
Are you a local? Asking for a friend.
Hypergridders have their full name in firstname, and their grid in
lastname. Sometimes.
Code filled with gotos may be spaghetti code, but object oriented code
can be like chopped spaghetti that's hidden all over the kitchen. At
least with gotos you can follow them.
---
OpenSim/Services/Interfaces/IAuthorizationService.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Services/Interfaces/IAuthorizationService.cs')
diff --git a/OpenSim/Services/Interfaces/IAuthorizationService.cs b/OpenSim/Services/Interfaces/IAuthorizationService.cs
index d4c697a..1f80a74 100644
--- a/OpenSim/Services/Interfaces/IAuthorizationService.cs
+++ b/OpenSim/Services/Interfaces/IAuthorizationService.cs
@@ -48,7 +48,7 @@ namespace OpenSim.Services.Interfaces
///
///
bool IsAuthorizedForRegion(
- string userID, string firstName, string lastName, string regionID, out string message);
+ string userID, string firstName, string lastName, string regionID, out string message, out bool isLocal);
}
public class AuthorizationRequest
@@ -145,4 +145,4 @@ namespace OpenSim.Services.Interfaces
set { m_message = value; }
}
}
-}
\ No newline at end of file
+}
--
cgit v1.1