From d66f3993de49d80d1db9f139ff08485c2d7d9664 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 14 Nov 2008 18:54:38 +0000 Subject: Add group permissions to agent inventory. Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only. --- OpenSim/Framework/InventoryItemBase.cs | 11 +++++++++++ OpenSim/Framework/Servers/VersionInfo.cs | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs index 25cef3f..cd96e01 100644 --- a/OpenSim/Framework/InventoryItemBase.cs +++ b/OpenSim/Framework/InventoryItemBase.cs @@ -75,6 +75,11 @@ namespace OpenSim.Framework private uint _everyOnePermissions; /// + /// + /// + private uint _groupPermissions; + + /// /// The folder this item is contained in /// private UUID _folder; @@ -190,6 +195,12 @@ namespace OpenSim.Framework set { _everyOnePermissions = value; } } + public uint GroupPermissions + { + get { return _groupPermissions; } + set { _groupPermissions = value; } + } + public int AssetType { get { return _assetType; } diff --git a/OpenSim/Framework/Servers/VersionInfo.cs b/OpenSim/Framework/Servers/VersionInfo.cs index c6a43ec..4b3f829 100644 --- a/OpenSim/Framework/Servers/VersionInfo.cs +++ b/OpenSim/Framework/Servers/VersionInfo.cs @@ -48,6 +48,6 @@ namespace OpenSim /// of the code that is too old. /// /// - public readonly static int MajorInterfaceVersion = 0; + public readonly static int MajorInterfaceVersion = 1; } } -- cgit v1.1