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.
This commit is contained in:
Sean Dague
2008-12-09 13:24:01 +00:00
parent 3ba0bc8f44
commit 04e8d624d6
2 changed files with 19 additions and 4 deletions

View File

@@ -872,6 +872,10 @@ crash_dir = "crashes"
; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb
; Allow for llCreateLink and llBreakLink to work without asking for permission
; only enable this in a trusted environment otherwise you may be subject to hijacking
; AutomaticLinkPermission = false
[GridInfo]
; These settings are used to return information on a get_grid_info call.
; Client launcher scripts and third-party clients make use of this to