aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorSean Dague2008-12-09 13:24:01 +0000
committerSean Dague2008-12-09 13:24:01 +0000
commit04e8d624d6223e3cea183e7a7d605151db93dbbf (patch)
tree524f3983719d91c81eb7d7c014c0f25250c33d86 /bin
parentMinor formatting cleanup. (diff)
downloadopensim-SC_OLD-04e8d624d6223e3cea183e7a7d605151db93dbbf.zip
opensim-SC_OLD-04e8d624d6223e3cea183e7a7d605151db93dbbf.tar.gz
opensim-SC_OLD-04e8d624d6223e3cea183e7a7d605151db93dbbf.tar.bz2
opensim-SC_OLD-04e8d624d6223e3cea183e7a7d605151db93dbbf.tar.xz
From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission) which when enabled makes PERMISSION_CHANGE_LINKS to be granted to scripts by default. When enabled llGetPermissions will always return it as granted and llCreateLink//llBreakLink will succeed without doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS. The patch also fixes a minor bug in llCreateLink related to a potential dereference of a null client object.
Diffstat (limited to '')
-rw-r--r--bin/OpenSim.ini.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index b3c7199..0f9ff8e 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -872,6 +872,10 @@ crash_dir = "crashes"
872 ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb 872 ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb
873 873
874 874
875 ; Allow for llCreateLink and llBreakLink to work without asking for permission
876 ; only enable this in a trusted environment otherwise you may be subject to hijacking
877 ; AutomaticLinkPermission = false
878
875[GridInfo] 879[GridInfo]
876 ; These settings are used to return information on a get_grid_info call. 880 ; These settings are used to return information on a get_grid_info call.
877 ; Client launcher scripts and third-party clients make use of this to 881 ; Client launcher scripts and third-party clients make use of this to