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/Interface | |
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/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 4 |
1 files changed, 4 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 38d4574..2cbaf5a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -116,6 +116,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
116 | { | 116 | { |
117 | void CheckThreatLevel(ThreatLevel level, string function); | 117 | void CheckThreatLevel(ThreatLevel level, string function); |
118 | 118 | ||
119 | // Scripted Script Permissions | ||
120 | void osGrantScriptPermissions(LSL_Key avatar, LSL_List functions); | ||
121 | void osRevokeScriptPermissions(LSL_Key avatar, LSL_List functions); | ||
122 | |||
119 | //OpenSim functions | 123 | //OpenSim functions |
120 | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer); | 124 | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer); |
121 | string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, | 125 | string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, |