Move osslEnable.ini file from bin/ to bin/config-include.

Per comments, putting new configuration files in bin/ is not preferred.
Add comments and instructions to heading of osslEnable.ini.
Add a commented out include of osslEnable.ini to OpenSim.ini.example.
Fix line endings of osslEnable.ini to be Unix style.
inv-download
Robert Adams 2015-04-12 16:00:54 -07:00
parent 1e444b1449
commit 2a302d9a32
2 changed files with 203 additions and 186 deletions

View File

@ -1006,6 +1006,12 @@
;; Default is ./bin/ScriptEngines ;; Default is ./bin/ScriptEngines
; ScriptEnginesPath = "ScriptEngines" ; ScriptEnginesPath = "ScriptEngines"
[OSSL]
;# {Include-osslEnable} {} {Include file for enabling and permissions for OSSL functions} {}
;; Optionally include file to enable OSSL functions and set permissions on who can use which.
;; If this INI file is not included, the OSSL functions are disabled.
; Include-osslEnable = "config-include/osslEnable.ini"
[MRM] [MRM]
;; Enables the Mini Region Modules Script Engine. ;; Enables the Mini Region Modules Script Engine.

View File

@ -1,3 +1,14 @@
; Enable OSSL functions.
; Including this file in a region's set of INI files, causes the OpenSimulator
; specific functions to be enabled.
; See http://opensimulator.org/wiki/OSSL for a description of OSSL functions and
; refer to http://opensimulator.org/wiki/OSSL_Implemented for a list of functions.
; The below file lists all the functions and specifies who has permission to
; execute the function. Some of the functions are for maintainance or can be
; mis-used so the permission to execute a function can be limited. Ability to
; execute a function is based on the owner of the prim holding the script.
[XEngine] [XEngine]
AllowModFunctions = true AllowModFunctions = true
AllowOSFunctions = true AllowOSFunctions = true
@ -5,7 +16,7 @@
OSFunctionThreatLevel = VeryLow OSFunctionThreatLevel = VeryLow
; Each of the ossl functions can be enabled or disabled individually. ; Each of the OSSL functions can be enabled or disabled individually.
; To disable, set the value to 'false'. ; To disable, set the value to 'false'.
; To enable for everyone, set the value to 'true'. ; To enable for everyone, set the value to 'true'.
; To enable for individuals or groups, set it to a comma separated list. This checks ; To enable for individuals or groups, set it to a comma separated list. This checks
@ -19,9 +30,9 @@
; Allowing ossl functions for anyone owning a parcel can be dangerous especially if ; Allowing ossl functions for anyone owning a parcel can be dangerous especially if
; a region is selling or otherwise giving away parcel ownership. By default, parcel ; a region is selling or otherwise giving away parcel ownership. By default, parcel
; ownership or group membership does not enable ossl function. Uncomment the ; ownership or group membership does not enable OSSL functions. Uncomment the
; appropriate line below to allow parcel ownership and groups to do restricted ; appropriate line below to allow parcel ownership and groups to do restricted
; ossl functions. ; OSSL functions.
osslParcelO = "" osslParcelO = ""
osslParcelOG = "" osslParcelOG = ""
; osslParcelO = "PARCEL_OWNER," ; osslParcelO = "PARCEL_OWNER,"