aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-02 20:25:47 +0000
committerTeravus Ovares2008-01-02 20:25:47 +0000
commita72d33d3a5da5bb48e9c95fd355458be335fee3e (patch)
tree968f98add2cb0e846d98c8f00826d4c22cbe59f9 /OpenSim/Region/Environment/Scenes
parentFixed buffer overrun bug in ZeroDecodeCommand (diff)
downloadopensim-SC_OLD-a72d33d3a5da5bb48e9c95fd355458be335fee3e.zip
opensim-SC_OLD-a72d33d3a5da5bb48e9c95fd355458be335fee3e.tar.gz
opensim-SC_OLD-a72d33d3a5da5bb48e9c95fd355458be335fee3e.tar.bz2
opensim-SC_OLD-a72d33d3a5da5bb48e9c95fd355458be335fee3e.tar.xz
* Added the ability for Region Owners to add and remove estate managers using the estate tools.
* Estate managers get abilities like the region owner for now. * Estate managers, you'll need to request server admin status to be able to activate the estate tools dialog (haven't figured out why this is the case yet) * Switching from grid mode to standalone or switching grids will make the stored Estate Manager UUIDs not match up with a valid account so you'll see (waiting) listed there instead of a user until you reset them or go back to the grid you added them from.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index ba99640..09b58e0 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1790,7 +1790,7 @@ namespace OpenSim.Region.Environment.Scenes
1790 IClientAPI controllingClient) 1790 IClientAPI controllingClient)
1791 { 1791 {
1792 // First check that this is the sim owner 1792 // First check that this is the sim owner
1793 if (agentID == RegionInfo.MasterAvatarAssignedUUID) 1793 if (m_permissionManager.GenericEstatePermission(agentID))
1794 { 1794 {
1795 // User needs to be logged into this sim 1795 // User needs to be logged into this sim
1796 if (m_scenePresences.ContainsKey(agentID)) 1796 if (m_scenePresences.ContainsKey(agentID))
@@ -1826,7 +1826,7 @@ namespace OpenSim.Region.Environment.Scenes
1826 LLUUID kickUserID = new LLUUID("44e87126e7944ded05b37c42da3d5cdb"); 1826 LLUUID kickUserID = new LLUUID("44e87126e7944ded05b37c42da3d5cdb");
1827 if (m_scenePresences.ContainsKey(agentID) || agentID == kickUserID) 1827 if (m_scenePresences.ContainsKey(agentID) || agentID == kickUserID)
1828 { 1828 {
1829 if (godID == RegionInfo.MasterAvatarAssignedUUID) 1829 if (m_permissionManager.GenericEstatePermission(godID))
1830 { 1830 {
1831 if (agentID == kickUserID) 1831 if (agentID == kickUserID)
1832 { 1832 {