diff options
author | BlueWall | 2015-02-27 11:05:15 -0500 |
---|---|---|
committer | BlueWall | 2015-02-27 11:05:15 -0500 |
commit | a3681f3052fb5e98e31e7051329a5b748a8bdd8d (patch) | |
tree | 44a4c6beed75c2eb829a7770c2fa4a9498068a31 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | When an avatar is walking across a region border, force the first AgentUpdate... (diff) | |
download | opensim-SC-a3681f3052fb5e98e31e7051329a5b748a8bdd8d.zip opensim-SC-a3681f3052fb5e98e31e7051329a5b748a8bdd8d.tar.gz opensim-SC-a3681f3052fb5e98e31e7051329a5b748a8bdd8d.tar.bz2 opensim-SC-a3681f3052fb5e98e31e7051329a5b748a8bdd8d.tar.xz |
Adding dynamic ossl permission control
Add permission by identifying uuid (owner/creator/group) and function. Revoke
permission in the same manner. Permission adjustments immediately effect
running scripts ability to call os functions.
osGrantScriptPermissions(UUID key,string function) Threat Level Severe
osRevokeScriptPermissions(UUID key,string function) Threat Level Severe
work sponsored by: Rage
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 352a35d..a98f6ac 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -61,6 +61,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
61 | Prim = new OSSLPrim(this); | 61 | Prim = new OSSLPrim(this); |
62 | } | 62 | } |
63 | 63 | ||
64 | public void osGrantScriptPermissions (LSL_Key avatar, LSL_List osfunctions) | ||
65 | { | ||
66 | m_OSSL_Functions.osGrantScriptPermissions(avatar, osfunctions); | ||
67 | } | ||
68 | |||
69 | public void osRevokeScriptPermissions (LSL_Key avatar, LSL_List osfunctions) | ||
70 | { | ||
71 | m_OSSL_Functions.osRevokeScriptPermissions(avatar, osfunctions); | ||
72 | } | ||
73 | |||
64 | public void osSetRegionWaterHeight(double height) | 74 | public void osSetRegionWaterHeight(double height) |
65 | { | 75 | { |
66 | m_OSSL_Functions.osSetRegionWaterHeight(height); | 76 | m_OSSL_Functions.osSetRegionWaterHeight(height); |