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!
remove-scene-viewer
Justin Clark-Casey (justincc) 2011-10-01 00:19:09 +01:00
parent 246443773a
commit a1875ec760
1 changed files with 8 additions and 1 deletions

View File

@ -2344,6 +2344,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
/// <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)