diff options
author | Melanie Thielker | 2008-11-14 17:24:56 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-14 17:24:56 +0000 |
commit | edee11ff8750d452f012690c556384984795f4be (patch) | |
tree | 21738d6ee71f00dea792585ab25557c64e571dca /OpenSim/Data | |
parent | * Switch default permissions back to false (so they are not on) as they were ... (diff) | |
download | opensim-SC_OLD-edee11ff8750d452f012690c556384984795f4be.zip opensim-SC_OLD-edee11ff8750d452f012690c556384984795f4be.tar.gz opensim-SC_OLD-edee11ff8750d452f012690c556384984795f4be.tar.bz2 opensim-SC_OLD-edee11ff8750d452f012690c556384984795f4be.tar.xz |
Reapplying a revised version of Christopher Yeoh's (IBM) patch for allow
inventory drop. Also adds a new flags, "propagate_permissions" to
OpenSim.ini to control that feature.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index ab46ed4..ec64b77 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -591,7 +591,9 @@ namespace OpenSim.Data.Tests | |||
591 | Assert.That(t.ItemID,Is.EqualTo(id)); | 591 | Assert.That(t.ItemID,Is.EqualTo(id)); |
592 | Assert.That(t.LastOwnerID, Is.EqualTo(sog.RootPart.LastOwnerID)); | 592 | Assert.That(t.LastOwnerID, Is.EqualTo(sog.RootPart.LastOwnerID)); |
593 | Assert.That(t.NextPermissions, Is.EqualTo(nextperm)); | 593 | Assert.That(t.NextPermissions, Is.EqualTo(nextperm)); |
594 | Assert.That(t.OwnerID,Is.EqualTo(owner)); | 594 | // Ownership changes when you drop an object into an object |
595 | // owned by someone else | ||
596 | Assert.That(t.OwnerID,Is.EqualTo(sog.RootPart.OwnerID)); | ||
595 | Assert.That(t.CurrentPermissions, Is.EqualTo(curperm)); | 597 | Assert.That(t.CurrentPermissions, Is.EqualTo(curperm)); |
596 | Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID)); | 598 | Assert.That(t.ParentID,Is.EqualTo(sog.RootPart.FolderID)); |
597 | Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID)); | 599 | Assert.That(t.ParentPartID,Is.EqualTo(sog.RootPart.UUID)); |
@@ -848,4 +850,4 @@ namespace OpenSim.Data.Tests | |||
848 | // return f; | 850 | // return f; |
849 | // } | 851 | // } |
850 | } | 852 | } |
851 | } \ No newline at end of file | 853 | } |