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

This commit is contained in:
UbitUmarov
2017-05-04 11:37:13 +01:00
parent d62aed7f46
commit 3a8dd24fd1
9 changed files with 48 additions and 84 deletions

View File

@@ -114,7 +114,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
// Script state may, or may not, exist. Not having any, is NOT
// ever a problem.
sceneObject.LoadScriptState(reader);
sceneObject.AggregateDeepPerms();
sceneObject.InvalidateDeepEffectivePerms();
return sceneObject;
}
@@ -278,7 +278,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
// Script state may, or may not, exist. Not having any, is NOT
// ever a problem.
sceneObject.LoadScriptState(doc);
sceneObject.AggregatePerms();
// sceneObject.AggregatePerms();
return sceneObject;
}
catch (Exception e)