aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorMelanie Thielker2017-04-30 13:24:48 +0100
committerMelanie Thielker2017-04-30 13:24:48 +0100
commitcf1064a2451271011d8575fba56f8aec361a9dc9 (patch)
treebf3276ce1c716b512a2dfca477330b29cb2ac74d /OpenSim/Region/CoreModules/World
parentexclude lms from permissions checks. They are full rights, and broken on all dbs (diff)
downloadopensim-SC-cf1064a2451271011d8575fba56f8aec361a9dc9.zip
opensim-SC-cf1064a2451271011d8575fba56f8aec361a9dc9.tar.gz
opensim-SC-cf1064a2451271011d8575fba56f8aec361a9dc9.tar.bz2
opensim-SC-cf1064a2451271011d8575fba56f8aec361a9dc9.tar.xz
Add a missing viewer-relevant message to the perms module
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index 8eee864..18d164f 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -2022,7 +2022,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
2022 2022
2023 uint perms = GetObjectPermissions(sp, sog, true); 2023 uint perms = GetObjectPermissions(sp, sog, true);
2024 if((perms & (uint)PermissionMask.Copy) == 0) 2024 if((perms & (uint)PermissionMask.Copy) == 0)
2025 {
2026 sp.ControllingClient.SendAgentAlertMessage("Copying this item has been denied by the permissions system", false);
2025 return false; 2027 return false;
2028 }
2026 2029
2027 if(sog.OwnerID != sp.UUID && (perms & (uint)PermissionMask.Transfer) == 0) 2030 if(sog.OwnerID != sp.UUID && (perms & (uint)PermissionMask.Transfer) == 0)
2028 return false; 2031 return false;