mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +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:
@@ -116,6 +116,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
{
|
||||
void CheckThreatLevel(ThreatLevel level, string function);
|
||||
|
||||
// Scripted Script Permissions
|
||||
void osGrantScriptPermissions(LSL_Key avatar, LSL_List functions);
|
||||
void osRevokeScriptPermissions(LSL_Key avatar, LSL_List functions);
|
||||
|
||||
//OpenSim functions
|
||||
string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer);
|
||||
string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams,
|
||||
|
||||
Reference in New Issue
Block a user