Add ability to pass in the permissions option (perm) to save oar via RemoteAdmin
Applies patch in http://opensimulator.org/mantis/view.php?id=5686 Thanks Michelle Argus!0.7.2-post-fixes
parent
549fdc8b11
commit
bb419044ef
|
@ -2340,10 +2340,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
/// <description>UUID of the region</description></item>
|
/// <description>UUID of the region</description></item>
|
||||||
/// <item><term>region_name</term>
|
/// <item><term>region_name</term>
|
||||||
/// <description>region name</description></item>
|
/// <description>region name</description></item>
|
||||||
/// <item><term>profile</term>
|
/// <item><term>profile</term>
|
||||||
/// <description>profile url</description></item>
|
/// <description>profile url</description></item>
|
||||||
/// <item><term>noassets</term>
|
/// <item><term>noassets</term>
|
||||||
/// <description>true if no assets should be saved</description></item>
|
/// <description>true if no assets should be saved</description></item>
|
||||||
|
/// <item><term>perm</term>
|
||||||
|
/// <description>C and/or T</description></item>
|
||||||
/// </list>
|
/// </list>
|
||||||
///
|
///
|
||||||
/// <code>region_uuid</code> takes precedence over
|
/// <code>region_uuid</code> takes precedence over
|
||||||
|
@ -2418,6 +2420,11 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||||
options["noassets"] = (string)requestData["noassets"] ;
|
options["noassets"] = (string)requestData["noassets"] ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (requestData.Contains("perm"))
|
||||||
|
{
|
||||||
|
options["checkPermissions"] = (string)requestData["perm"];
|
||||||
|
}
|
||||||
|
|
||||||
IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>();
|
IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>();
|
||||||
|
|
||||||
if (archiver != null)
|
if (archiver != null)
|
||||||
|
|
Loading…
Reference in New Issue