diff options
author | UbitUmarov | 2019-10-19 09:59:15 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-19 09:59:26 +0100 |
commit | 24b1e84ecad28a74565163957d0e9ba1a58d55ec (patch) | |
tree | 6fd02ca163ac845e2172bc13b81470118d4b14d4 | |
parent | Xengine: more on division by Zero (diff) | |
download | opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.zip opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.tar.gz opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.tar.bz2 opensim-SC-24b1e84ecad28a74565163957d0e9ba1a58d55ec.tar.xz |
change osSetDynamicTextureURL(Blend) to ThreatLevel.VeryHigh,ESTATE_MANAGER,ESTATE_OWNER
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 9 | ||||
-rw-r--r-- | bin/config-include/osslEnable.ini | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 641975a..d82d661 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -753,7 +753,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
753 | 753 | ||
754 | public void osSetRot(UUID target, Quaternion rotation) | 754 | public void osSetRot(UUID target, Quaternion rotation) |
755 | { | 755 | { |
756 | // This function has no security. It can be used to destroy | 756 | // if enabled It can be used to destroy |
757 | // arbitrary builds the user would normally have no rights to | 757 | // arbitrary builds the user would normally have no rights to |
758 | // | 758 | // |
759 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetRot"); | 759 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetRot"); |
@@ -778,10 +778,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
778 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, | 778 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, |
779 | int timer) | 779 | int timer) |
780 | { | 780 | { |
781 | // This may be upgraded depending on the griefing or DOS | 781 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetDynamicTextureURL"); |
782 | // potential, or guarded with a delay | ||
783 | // | ||
784 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureURL"); | ||
785 | 782 | ||
786 | if (dynamicID == String.Empty) | 783 | if (dynamicID == String.Empty) |
787 | { | 784 | { |
@@ -802,7 +799,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
802 | public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, | 799 | public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, |
803 | int timer, int alpha) | 800 | int timer, int alpha) |
804 | { | 801 | { |
805 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureURLBlend"); | 802 | CheckThreatLevel(ThreatLevel.VeryHigh, "osSetDynamicTextureURLBlend"); |
806 | 803 | ||
807 | if (dynamicID == String.Empty) | 804 | if (dynamicID == String.Empty) |
808 | { | 805 | { |
diff --git a/bin/config-include/osslEnable.ini b/bin/config-include/osslEnable.ini index 44c7e88..7c5ceb0 100644 --- a/bin/config-include/osslEnable.ini +++ b/bin/config-include/osslEnable.ini | |||
@@ -100,9 +100,7 @@ | |||
100 | Allow_osSetDynamicTextureDataFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 100 | Allow_osSetDynamicTextureDataFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
101 | Allow_osSetDynamicTextureDataBlend = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 101 | Allow_osSetDynamicTextureDataBlend = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
102 | Allow_osSetDynamicTextureDataBlendFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 102 | Allow_osSetDynamicTextureDataBlendFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
103 | Allow_osSetDynamicTextureURL = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
104 | Allow_osSetDynamicTextureURLBlend = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 103 | Allow_osSetDynamicTextureURLBlend = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
105 | Allow_osSetDynamicTextureURLBlendFace = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | ||
106 | Allow_osSetParcelMediaURL = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 104 | Allow_osSetParcelMediaURL = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
107 | Allow_osSetParcelSIPAddress = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 105 | Allow_osSetParcelSIPAddress = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
108 | Allow_osSetPrimFloatOnWater = true | 106 | Allow_osSetPrimFloatOnWater = true |
@@ -207,14 +205,14 @@ | |||
207 | Allow_osGetNotecard = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 205 | Allow_osGetNotecard = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
208 | Allow_osGetNotecardLine = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 206 | Allow_osGetNotecardLine = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
209 | Allow_osGetNumberOfNotecardLines = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 207 | Allow_osGetNumberOfNotecardLines = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
208 | Allow_osSetDynamicTextureURL = ESTATE_MANAGER,ESTATE_OWNER | ||
209 | Allow_osSetDynamicTextureURLBlendFace = ESTATE_MANAGER,ESTATE_OWNER | ||
210 | Allow_osSetRot = false | 210 | Allow_osSetRot = false |
211 | Allow_osSetParcelDetails = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 211 | Allow_osSetParcelDetails = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
212 | 212 | ||
213 | ; ThreatLevel Severe | 213 | ; ThreatLevel Severe |
214 | Allow_osConsoleCommand = false | 214 | Allow_osConsoleCommand = false |
215 | Allow_osGrantScriptPermissions = false | ||
216 | Allow_osKickAvatar = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 215 | Allow_osKickAvatar = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
217 | Allow_osRevokeScriptPermissions = false | ||
218 | Allow_osTeleportAgent = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 216 | Allow_osTeleportAgent = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
219 | Allow_osTeleportObject = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER | 217 | Allow_osTeleportObject = ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
220 | 218 | ||