aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-05-03 21:12:16 +0100
committerUbitUmarov2017-05-03 21:12:16 +0100
commitd62aed7f468d50a3b1f9ee678be9ba66d77a9218 (patch)
tree77d0c937e568d1ab21c82b813b07127337918814 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentfix right to change permissions of group owned taskitems (diff)
downloadopensim-SC-d62aed7f468d50a3b1f9ee678be9ba66d77a9218.zip
opensim-SC-d62aed7f468d50a3b1f9ee678be9ba66d77a9218.tar.gz
opensim-SC-d62aed7f468d50a3b1f9ee678be9ba66d77a9218.tar.bz2
opensim-SC-d62aed7f468d50a3b1f9ee678be9ba66d77a9218.tar.xz
fix right to change permissions of group owned objects
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index f948336..d980fe5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4460,8 +4460,11 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
4460 if (god) 4460 if (god)
4461 baseMask = 0x7ffffff0; 4461 baseMask = 0x7ffffff0;
4462 4462
4463 // Are we the owner? 4463 bool canChange = (AgentID == OwnerID) || god;
4464 if ((AgentID == OwnerID) || god) 4464 if(!canChange)
4465 canChange = ParentGroup.Scene.Permissions.CanEditObjectPermissions(ParentGroup, AgentID);
4466
4467 if (canChange)
4465 { 4468 {
4466 switch (field) 4469 switch (field)
4467 { 4470 {