From a1875ec7600758087f6c06ccaf625507362e215c Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 1 Oct 2011 00:19:09 +0100
Subject: 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!
---
OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
(limited to 'OpenSim/ApplicationPlugins/RemoteController')
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index e20b487..08f3dc7 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -2340,10 +2340,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController
/// UUID of the region
/// - region_name
/// region name
- /// - profile
+ ///
- profile
/// profile url
/// - noassets
/// true if no assets should be saved
+ /// - perm
+ /// C and/or T
///
///
/// region_uuid
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();
if (archiver != null)
--
cgit v1.1