aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-03-12 23:05:16 +0000
committerJustin Clark-Casey (justincc)2014-03-12 23:05:16 +0000
commit296d63e20b0b77ba70257726ae519ef733865534 (patch)
treeccb78b6140f8f19cbe1d933e1891f26db0587c0d /OpenSim/Region/ScriptEngine/Shared/Api/Interface
parentWhen sending group notices through group messaging, allow the agent ID to use... (diff)
downloadopensim-SC-296d63e20b0b77ba70257726ae519ef733865534.zip
opensim-SC-296d63e20b0b77ba70257726ae519ef733865534.tar.gz
opensim-SC-296d63e20b0b77ba70257726ae519ef733865534.tar.bz2
opensim-SC-296d63e20b0b77ba70257726ae519ef733865534.tar.xz
Implement osForceCreateLink() and osForceBreakLink()
These are identical to llCreateLink() and llBreakLink() except that they don't require script permissions. However, osForceCreateLink() still requires that linked and linkee still have the same owner. There's also an AutomaticLinkPermission setting in [XEngine] that could be set to true to prevent the LSL function checks. But this doesn't allow the finer control over which users/scripts, etc. can do this that the OSSL functions provide.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index 519779e..b5de355 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -294,6 +294,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
294 LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules); 294 LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules);
295 295
296 /// <summary> 296 /// <summary>
297 /// Identical to llCreateLink() but does not require permission from the owner.
298 /// </summary>
299 /// <param name='target'></param>
300 /// <param name='parent'></param>
301 void osForceCreateLink(string target, int parent);
302
303 /// <summary>
304 /// Identical to llBreakLink() but does not require permission from the owner.
305 /// </summary>
306 /// <param name='linknum'></param>
307 void osForceBreakLink(int linknum);
308
309 /// <summary>
297 /// Check if the given key is an npc 310 /// Check if the given key is an npc
298 /// </summary> 311 /// </summary>
299 /// <param name="npc"></param> 312 /// <param name="npc"></param>