diff options
author | UbitUmarov | 2019-10-15 22:57:30 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-15 22:57:30 +0100 |
commit | 77126cee00ec20c5ca452e1b532d3b738decf876 (patch) | |
tree | 0c10715fa06eeb4e6391a7b5d2bfdfb501d34fca | |
parent | basic search: fix people search, add some caching (diff) | |
download | opensim-SC-77126cee00ec20c5ca452e1b532d3b738decf876.zip opensim-SC-77126cee00ec20c5ca452e1b532d3b738decf876.tar.gz opensim-SC-77126cee00ec20c5ca452e1b532d3b738decf876.tar.bz2 opensim-SC-77126cee00ec20c5ca452e1b532d3b738decf876.tar.xz |
change coments on osslEnable.ini and remove list of functions always suported;
-rw-r--r-- | bin/config-include/osslEnable.ini | 106 |
1 files changed, 18 insertions, 88 deletions
diff --git a/bin/config-include/osslEnable.ini b/bin/config-include/osslEnable.ini index 84943e7..759647d 100644 --- a/bin/config-include/osslEnable.ini +++ b/bin/config-include/osslEnable.ini | |||
@@ -1,16 +1,10 @@ | |||
1 | ; Enable OSSL functions. | 1 | ; Enable OSSL functions. |
2 | ; Including this file in a region's set of INI files, causes the OpenSimulator | 2 | ; Including this file in a region's set of INI files, causes the OpenSimulator |
3 | ; specific functions to be enabled. | 3 | ; specific functions to be enabled. |
4 | ; See http://opensimulator.org/wiki/OSSL for a description of OSSL functions and | 4 | ; See http://opensimulator.org/wiki/Category:OSSL_Functions for a description of OSSL functions |
5 | ; refer to http://opensimulator.org/wiki/OSSL_Implemented for a list of functions. | ||
6 | |||
7 | ; The below file lists all the functions and specifies who has permission to | ||
8 | ; execute the function. Some of the functions are for maintainance or can be | ||
9 | ; mis-used so the permission to execute a function can be limited. Ability to | ||
10 | ; execute a function is based on the owner of the prim holding the script. | ||
11 | 5 | ||
12 | [OSSL] | 6 | [OSSL] |
13 | ; Allow the use of os* functions (some are dangerous) | 7 | ; Allow the use of os* functions (some are always avaiable) |
14 | AllowOSFunctions = true | 8 | AllowOSFunctions = true |
15 | 9 | ||
16 | ; Allow the user of mod* functions. This allows a script to pass messages | 10 | ; Allow the user of mod* functions. This allows a script to pass messages |
@@ -22,19 +16,23 @@ | |||
22 | ; The setting enable_windlight = true must also be enabled in the [LightShare] section. | 16 | ; The setting enable_windlight = true must also be enabled in the [LightShare] section. |
23 | AllowLightShareFunctions = true | 17 | AllowLightShareFunctions = true |
24 | 18 | ||
25 | ; Threat level to allow. One of None, VeryLow, Low, Moderate, High, VeryHigh, Severe. | 19 | ; Function Threat level |
20 | ; Several functions have a predefined threat level, one of: None, VeryLow, Low, Moderate, High, VeryHigh, Severe. | ||
26 | ; See http://opensimulator.org/wiki/Threat_level for more information on these levels. | 21 | ; See http://opensimulator.org/wiki/Threat_level for more information on these levels. |
27 | ; This is the default level and can be overridden with the Allow_ specifications. | ||
28 | ; Blanket enabling the ossl functions is dangerous and we do not recommend setting higher | 22 | ; Blanket enabling the ossl functions is dangerous and we do not recommend setting higher |
29 | ; than 'Low' unless you have a high level of trust in all the users that can run scripts | 23 | ; than 'Low' unless you have a high level of trust in all the users that can run scripts |
30 | ; in your simulator. It is safer to explicitly allow certain types of user to run | 24 | ; in your simulator. It is safer to explicitly allow certain types of user to run |
31 | ; higher threat level OSSL functions, as detailed later on. | 25 | ; higher threat level OSSL functions, as detailed later on. |
26 | ; This setting defines the highest level allowed to execute | ||
32 | OSFunctionThreatLevel = VeryLow | 27 | OSFunctionThreatLevel = VeryLow |
33 | 28 | ||
34 | ; Some of the OSSL functions can be enabled or disabled individually. | 29 | ; The threat level can be replaced by more detailed rules by lines of the form |
35 | ; To disable, set the value to 'false'. | 30 | ; Allow_FunctionName = parameters |
36 | ; To enable for everyone, set the value to 'true'. | 31 | ; To use the default threat level coment the respective line |
37 | ; To enable for individuals or groups, set it to a comma separated list. This checks | 32 | ; parameters can be: |
33 | ; 'false' disables the function. | ||
34 | ; 'true' enables for everyone | ||
35 | ; or to enable for individuals or groups, set it to a comma separated list. This checks | ||
38 | ; against the owner of the object containing the script. | 36 | ; against the owner of the object containing the script. |
39 | ; The comma separated entries in the list may be one of: | 37 | ; The comma separated entries in the list may be one of: |
40 | ; "GRID_GOD" -- enable for users with UserLevel >= 200 | 38 | ; "GRID_GOD" -- enable for users with UserLevel >= 200 |
@@ -63,11 +61,11 @@ | |||
63 | ; NPC macros | 61 | ; NPC macros |
64 | ; These can be mis-used so limit use to those you can trust. | 62 | ; These can be mis-used so limit use to those you can trust. |
65 | osslNPC = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER | 63 | osslNPC = ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
64 | |||
65 | ; The threat level also can be replaced by lines of the form | ||
66 | ; Creators__FunctionName = comma separated list of UUIDs | ||
67 | ; this will enable the function for users that are creators and owners of the prim | ||
66 | 68 | ||
67 | ; The OSSL function name is prepended with "Allow_" and it checks against | ||
68 | ; the owners of the containing prim. There can also be entries beginning with | ||
69 | ; 'Creators_". The 'Creators_" parameters can only be a list of UUIDs and it is | ||
70 | ; checked against the creator of the script itself. | ||
71 | 69 | ||
72 | ; ************************************************* | 70 | ; ************************************************* |
73 | 71 | ||
@@ -222,73 +220,5 @@ | |||
222 | Allow_osSetContentType = false | 220 | Allow_osSetContentType = false |
223 | 221 | ||
224 | 222 | ||
225 | ; available functions out of Threat level control (for reference only) | 223 | ; Always avaiable |
226 | ; Allow_osAdjustSoundVolume = true | 224 | ; see http://opensimulator.org/wiki/Category:OSSL_Functions |
227 | ; Allow_osAngleBetween = true | ||
228 | ; Allow_osApproxEquals = true | ||
229 | ; Allow_osCheckODE = true | ||
230 | ; Allow_osClearInertia = true | ||
231 | ; Allow_osCollisionSound = true | ||
232 | ; Allow_osDrawEllipse = true | ||
233 | ; Allow_osDrawFilledEllipse = true | ||
234 | ; Allow_osDrawFilledPolygon = true | ||
235 | ; Allow_osDrawFilledRectangle = true | ||
236 | ; Allow_osDrawImage = true | ||
237 | ; Allow_osDrawLine = true | ||
238 | ; Allow_osDrawPolygon = true | ||
239 | ; Allow_osDrawRectangle = true | ||
240 | ; Allow_osDrawResetTransform = true | ||
241 | ; Allow_osDrawRotationTransform = true | ||
242 | ; Allow_osDrawScaleTransform = true | ||
243 | ; Allow_osDrawText = true | ||
244 | ; Allow_osDrawTranslationTransform = true | ||
245 | ; Allow_osGetCurrentSunHour = true | ||
246 | ; Allow_osGetInertiaData = true | ||
247 | ; Allow_osGetInventoryDesc = true | ||
248 | ; Allow_osGetInventoryItemKey = true | ||
249 | ; Allow_osGetInventoryLastOwner = true | ||
250 | ; Allow_osGetInventoryName = true | ||
251 | ; Allow_osGetLinkNumber = true | ||
252 | ; Allow_osGetMapTexture = true | ||
253 | ; Allow_osGetPhysicsEngineName = true | ||
254 | ; Allow_osGetPrimitiveParams = true | ||
255 | ; Allow_osGetRegionSize = true | ||
256 | ; Allow_osGetSunParam = true | ||
257 | ; Allow_osGetTerrainHeight = true | ||
258 | ; Allow_osGetDrawStringSize = true | ||
259 | ; Allow_osIsNpc = true | ||
260 | ; Allow_osIsUUID = true | ||
261 | ; Allow_osLoopSound = true | ||
262 | ; Allow_osLoopSoundMaster = true | ||
263 | ; Allow_osLoopSoundSlave = true | ||
264 | ; Allow_osMax = true | ||
265 | ; Allow_osMin = true | ||
266 | ; Allow_osMovePen = true | ||
267 | ; Allow_osPlaySound = true | ||
268 | ; Allow_osPlaySoundSlave = true | ||
269 | ; Allow_osPreloadSound = true | ||
270 | ; Allow_osRound = true | ||
271 | ; Allow_osSetFontName = true | ||
272 | ; Allow_osSetFontSize = true | ||
273 | ; Allow_osSetInertia = true | ||
274 | ; Allow_osSetInertiaAsBox = true | ||
275 | ; Allow_osSetInertiaAsSphere = true | ||
276 | ; Allow_osSetInertiaAsCylinder = true | ||
277 | ; Allow_osSetPenCap = true | ||
278 | ; Allow_osSetPenColor = true | ||
279 | ; Allow_osSetPenSize = true | ||
280 | ; Allow_osSetPrimitiveParams = true | ||
281 | ; Allow_osSetSoundRadius = true | ||
282 | ; Allow_osStopSound = true | ||
283 | ; Allow_osStringSubString = true | ||
284 | ; Allow_osStringStartsWith = true | ||
285 | ; Allow_osStringEndsWith = true | ||
286 | ; Allow_osStringIndexOf = true | ||
287 | ; Allow_osStringLastIndexOf = true | ||
288 | ; Allow_osStringRemove = true | ||
289 | ; Allow_osStringReplace = true | ||
290 | ; Allow_osTriggerSound = true | ||
291 | ; Allow_osTriggerSoundLimited = true | ||
292 | ; Allow_osVecDistSquare = true | ||
293 | ; Allow_osVecMagSquare = true | ||
294 | ; Allow_osVolumeDetect = true | ||