aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-14 11:56:57 +0000
committerTeravus Ovares2007-11-14 11:56:57 +0000
commit3cb2b5eb6686d4e183eed5152570b7e052381f8d (patch)
treee98100bce6ff171318c18d38f51ae9670c38135b /OpenSim/Region/Environment/PermissionManager.cs
parent* moved outer tool dir into inner tool dir (diff)
downloadopensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.zip
opensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.gz
opensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.bz2
opensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.xz
* Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
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.