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
parent
246443773a
commit
a1875ec760
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue