diff options
author | UbitUmarov | 2017-05-04 11:37:13 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-04 11:37:13 +0100 |
commit | 3a8dd24fd1c1aead0a81a4a9d63b59bbf9f10855 (patch) | |
tree | 746ee2b8b01f1164dc815293b63086d959c05eb4 /OpenSim/Tests/Common | |
parent | fix right to change permissions of group owned objects (diff) | |
download | opensim-SC_OLD-3a8dd24fd1c1aead0a81a4a9d63b59bbf9f10855.zip opensim-SC_OLD-3a8dd24fd1c1aead0a81a4a9d63b59bbf9f10855.tar.gz opensim-SC_OLD-3a8dd24fd1c1aead0a81a4a9d63b59bbf9f10855.tar.bz2 opensim-SC_OLD-3a8dd24fd1c1aead0a81a4a9d63b59bbf9f10855.tar.xz |
move deep effective permissions aggregation to first time use and not on changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index fbd7e90..7902fb1 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -626,6 +626,7 @@ namespace OpenSim.Tests.Common | |||
626 | //part.ObjectFlags |= (uint)PrimFlags.Phantom; | 626 | //part.ObjectFlags |= (uint)PrimFlags.Phantom; |
627 | 627 | ||
628 | scene.AddNewSceneObject(so, true); | 628 | scene.AddNewSceneObject(so, true); |
629 | so.InvalidateDeepEffectivePerms(); | ||
629 | 630 | ||
630 | return so; | 631 | return so; |
631 | } | 632 | } |
@@ -652,6 +653,7 @@ namespace OpenSim.Tests.Common | |||
652 | SceneObjectGroup so = CreateSceneObject(parts, ownerId, partNamePrefix, uuidTail); | 653 | SceneObjectGroup so = CreateSceneObject(parts, ownerId, partNamePrefix, uuidTail); |
653 | 654 | ||
654 | scene.AddNewSceneObject(so, false); | 655 | scene.AddNewSceneObject(so, false); |
656 | so.InvalidateDeepEffectivePerms(); | ||
655 | 657 | ||
656 | return so; | 658 | return so; |
657 | } | 659 | } |