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
Justin Clark-Casey (justincc) 2011-10-01 00:19:09 +01:00
parent 549fdc8b11
commit bb419044ef
1 changed files with 8 additions and 1 deletions

View File

@ -2340,10 +2340,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController
/// <description>UUID of the region</description></item>
/// <item><term>region_name</term>
/// <description>region name</description></item>
/// <item><term>profile</term>
/// <item><term>profile</term>
/// <description>profile url</description></item>
/// <item><term>noassets</term>
/// <description>true if no assets should be saved</description></item>
/// <item><term>perm</term>
/// <description>C and/or T</description></item>
/// </list>
///
/// <code>region_uuid</code> takes precedence over
@ -2418,6 +2420,11 @@ namespace OpenSim.ApplicationPlugins.RemoteController
options["noassets"] = (string)requestData["noassets"] ;
}
if (requestData.Contains("perm"))
{
options["checkPermissions"] = (string)requestData["perm"];
}
IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>();
if (archiver != null)