change osSetContentType threat level
parent
34b7d7ec6e
commit
2c2b887c8a
|
@ -4251,7 +4251,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void osSetContentType(LSL_Key id, string type)
|
public void osSetContentType(LSL_Key id, string type)
|
||||||
{
|
{
|
||||||
CheckThreatLevel(ThreatLevel.High, "osSetContentType");
|
CheckThreatLevel(ThreatLevel.Severe, "osSetContentType");
|
||||||
|
|
||||||
if (m_UrlModule != null)
|
if (m_UrlModule != null)
|
||||||
m_UrlModule.HttpContentType(new UUID(id),type);
|
m_UrlModule.HttpContentType(new UUID(id),type);
|
||||||
|
|
|
@ -184,7 +184,6 @@
|
||||||
Allow_osParcelSubdivide = ESTATE_MANAGER,ESTATE_OWNER
|
Allow_osParcelSubdivide = ESTATE_MANAGER,ESTATE_OWNER
|
||||||
Allow_osRegionRestart = ESTATE_MANAGER,ESTATE_OWNER
|
Allow_osRegionRestart = ESTATE_MANAGER,ESTATE_OWNER
|
||||||
Allow_osRegionNotice = ESTATE_MANAGER,ESTATE_OWNER
|
Allow_osRegionNotice = ESTATE_MANAGER,ESTATE_OWNER
|
||||||
Allow_osSetContentType = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
|
|
||||||
Allow_osSetPrimitiveParams = false
|
Allow_osSetPrimitiveParams = false
|
||||||
Allow_osSetProjectionParams = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
|
Allow_osSetProjectionParams = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
|
||||||
Allow_osSetRegionWaterHeight = ESTATE_MANAGER,ESTATE_OWNER
|
Allow_osSetRegionWaterHeight = ESTATE_MANAGER,ESTATE_OWNER
|
||||||
|
@ -221,6 +220,7 @@
|
||||||
|
|
||||||
; ThreatLevel Severe with additional internal restrictions
|
; ThreatLevel Severe with additional internal restrictions
|
||||||
Allow_osGetAgentIP = true ; always restricted to Administrators (true or false to disable)
|
Allow_osGetAgentIP = true ; always restricted to Administrators (true or false to disable)
|
||||||
|
Allow_osSetContentType = $ESTATE_OWNER
|
||||||
|
|
||||||
|
|
||||||
; available functions out of Threat level control (for reference only)
|
; available functions out of Threat level control (for reference only)
|
||||||
|
|
Loading…
Reference in New Issue