aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AuthorizationService/AuthorizationService.cs
diff options
context:
space:
mode:
authorRob Smart2009-09-16 13:34:14 +0100
committerDiva Canto2009-09-16 10:04:07 -0700
commit281ad1251ced13931ddbf99671841ef87db6ec0a (patch)
treeaed4bf91859eb5722e93bb795774f59003129c30 /OpenSim/Services/AuthorizationService/AuthorizationService.cs
parentDatabase interface tot the new region store (diff)
downloadopensim-SC-281ad1251ced13931ddbf99671841ef87db6ec0a.zip
opensim-SC-281ad1251ced13931ddbf99671841ef87db6ec0a.tar.gz
opensim-SC-281ad1251ced13931ddbf99671841ef87db6ec0a.tar.bz2
opensim-SC-281ad1251ced13931ddbf99671841ef87db6ec0a.tar.xz
updated the IAuthorizationService interface so that a message is passed back and can be displayed at the client when an avatar is denied access to a region
Diffstat (limited to 'OpenSim/Services/AuthorizationService/AuthorizationService.cs')
-rw-r--r--OpenSim/Services/AuthorizationService/AuthorizationService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/AuthorizationService/AuthorizationService.cs b/OpenSim/Services/AuthorizationService/AuthorizationService.cs
index c795ba0..d658368 100644
--- a/OpenSim/Services/AuthorizationService/AuthorizationService.cs
+++ b/OpenSim/Services/AuthorizationService/AuthorizationService.cs
@@ -48,8 +48,9 @@ namespace OpenSim.Services.AuthorizationService
48 m_log.Info("[AUTHORIZATION CONNECTOR]: Local Authorization service enabled"); 48 m_log.Info("[AUTHORIZATION CONNECTOR]: Local Authorization service enabled");
49 } 49 }
50 50
51 public bool IsAuthorizedForRegion(string userID, string regionID) 51 public bool IsAuthorizedForRegion(string userID, string regionID, out string message)
52 { 52 {
53 message = "Authorized";
53 return true; 54 return true;
54 } 55 }
55 } 56 }