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.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs
index 6c49586..7cf89b0 100644
--- a/OpenSim/Region/Environment/PermissionManager.cs
+++ b/OpenSim/Region/Environment/PermissionManager.cs
@@ -494,7 +494,9 @@ namespace OpenSim.Region.Environment
494 bool permission = false; 494 bool permission = false;
495 495
496 if (parcel.landData.ownerID == user) 496 if (parcel.landData.ownerID == user)
497 {
497 permission = true; 498 permission = true;
499 }
498 500
499 if (parcel.landData.isGroupOwned) 501 if (parcel.landData.isGroupOwned)
500 { 502 {
@@ -502,10 +504,14 @@ namespace OpenSim.Region.Environment
502 } 504 }
503 505
504 if (IsEstateManager(user)) 506 if (IsEstateManager(user))
507 {
505 permission = true; 508 permission = true;
509 }
506 510
507 if (IsAdministrator(user)) 511 if (IsAdministrator(user))
512 {
508 permission = true; 513 permission = true;
514 }
509 515
510 return permission; 516 return permission;
511 } 517 }