mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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.
This commit is contained in:
@@ -74,6 +74,11 @@ namespace OpenSim.Framework
|
||||
/// </summary>
|
||||
private uint _everyOnePermissions;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private uint _groupPermissions;
|
||||
|
||||
/// <summary>
|
||||
/// The folder this item is contained in
|
||||
/// </summary>
|
||||
@@ -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; }
|
||||
|
||||
@@ -48,6 +48,6 @@ namespace OpenSim
|
||||
/// of the code that is too old.
|
||||
///
|
||||
/// </value>
|
||||
public readonly static int MajorInterfaceVersion = 0;
|
||||
public readonly static int MajorInterfaceVersion = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user