aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r--OpenSim/Region/Environment/PermissionManager.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs
index fd55833..560ecf3 100644
--- a/OpenSim/Region/Environment/PermissionManager.cs
+++ b/OpenSim/Region/Environment/PermissionManager.cs
@@ -139,9 +139,12 @@ namespace OpenSim.Region.Environment
139 139
140 SceneObjectGroup task = (SceneObjectGroup) m_scene.Entities[objId]; 140 SceneObjectGroup task = (SceneObjectGroup) m_scene.Entities[objId];
141 LLUUID taskOwner = null; 141 LLUUID taskOwner = null;
142 // Added this because at this point in time it wouldn't be wise for
143 // the administrator object permissions to take effect.
144 LLUUID objectOwner = task.OwnerID;
142 145
143 // Object owners should be able to edit their own content 146 // Object owners should be able to edit their own content
144 if (user == taskOwner) 147 if (user == objectOwner)
145 permission = true; 148 permission = true;
146 149
147 // Users should be able to edit what is over their land. 150 // Users should be able to edit what is over their land.