aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authoronefang2019-08-02 21:20:11 +1000
committeronefang2019-08-02 21:20:11 +1000
commit85fcb4e75c94ff7b5b45609826df5113f32aacc0 (patch)
treeb34fa5ce80e228850c1548b9ba210e6836558c2e /OpenSim/Services
parentBump sim ports up by 2 when creating, coz 5 is silly. (diff)
downloadopensim-SC_OLD-85fcb4e75c94ff7b5b45609826df5113f32aacc0.zip
opensim-SC_OLD-85fcb4e75c94ff7b5b45609826df5113f32aacc0.tar.gz
opensim-SC_OLD-85fcb4e75c94ff7b5b45609826df5113f32aacc0.tar.bz2
opensim-SC_OLD-85fcb4e75c94ff7b5b45609826df5113f32aacc0.tar.xz
Another attempt at sorting out the auto group chicken and egg problems.
Are you a local? Asking for a friend.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/AuthorizationService/AuthorizationService.cs3
-rw-r--r--OpenSim/Services/Interfaces/IAuthorizationService.cs2
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/AuthorizationService/AuthorizationService.cs b/OpenSim/Services/AuthorizationService/AuthorizationService.cs
index 03da6e1..2fe43e7 100644
--- a/OpenSim/Services/AuthorizationService/AuthorizationService.cs
+++ b/OpenSim/Services/AuthorizationService/AuthorizationService.cs
@@ -49,9 +49,10 @@ namespace OpenSim.Services.AuthorizationService
49 } 49 }
50 50
51 public bool IsAuthorizedForRegion( 51 public bool IsAuthorizedForRegion(
52 string userID, string firstName, string lastName, string regionID, out string message) 52 string userID, string firstName, string lastName, string regionID, out string message, out bool isLocal)
53 { 53 {
54 message = "Authorized"; 54 message = "Authorized";
55 isLocal = true;
55 return true; 56 return true;
56 } 57 }
57 } 58 }
diff --git a/OpenSim/Services/Interfaces/IAuthorizationService.cs b/OpenSim/Services/Interfaces/IAuthorizationService.cs
index d4c697a..1974234 100644
--- a/OpenSim/Services/Interfaces/IAuthorizationService.cs
+++ b/OpenSim/Services/Interfaces/IAuthorizationService.cs
@@ -48,7 +48,7 @@ namespace OpenSim.Services.Interfaces
48 /// <param name="message"></param> 48 /// <param name="message"></param>
49 /// <returns></returns> 49 /// <returns></returns>
50 bool IsAuthorizedForRegion( 50 bool IsAuthorizedForRegion(
51 string userID, string firstName, string lastName, string regionID, out string message); 51 string userID, string firstName, string lastName, string regionID, out string message, out bool isLocal);
52 } 52 }
53 53
54 public class AuthorizationRequest 54 public class AuthorizationRequest