diff options
author | lbsa71 | 2008-02-09 21:50:45 +0000 |
---|---|---|
committer | lbsa71 | 2008-02-09 21:50:45 +0000 |
commit | 0b0bb28fd50bd749deed842fdf7e07e12f5b4e54 (patch) | |
tree | 7c941ac08144457e796278de9b2018ae87704bea /OpenSim/Region/Environment/PermissionManager.cs | |
parent | * Added count of temporary assets (diff) | |
download | opensim-SC-0b0bb28fd50bd749deed842fdf7e07e12f5b4e54.zip opensim-SC-0b0bb28fd50bd749deed842fdf7e07e12f5b4e54.tar.gz opensim-SC-0b0bb28fd50bd749deed842fdf7e07e12f5b4e54.tar.bz2 opensim-SC-0b0bb28fd50bd749deed842fdf7e07e12f5b4e54.tar.xz |
* added count of texture data bytes and asset bytes
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/PermissionManager.cs | 6 |
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 | } |