mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
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
This commit is contained in:
@@ -61,6 +61,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
Prim = new OSSLPrim(this);
|
||||
}
|
||||
|
||||
public void osGrantScriptPermissions (LSL_Key avatar, LSL_List osfunctions)
|
||||
{
|
||||
m_OSSL_Functions.osGrantScriptPermissions(avatar, osfunctions);
|
||||
}
|
||||
|
||||
public void osRevokeScriptPermissions (LSL_Key avatar, LSL_List osfunctions)
|
||||
{
|
||||
m_OSSL_Functions.osRevokeScriptPermissions(avatar, osfunctions);
|
||||
}
|
||||
|
||||
public void osSetRegionWaterHeight(double height)
|
||||
{
|
||||
m_OSSL_Functions.osSetRegionWaterHeight(height);
|
||||
|
||||
Reference in New Issue
Block a user