aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Permissions (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-17* Add allowed_script_editors to OpenSim.ini in the same fashion as ↵Justin Clarke Casey1-9/+12
allowed_script_creators. * This allows one to override normal OpenSim permissions and prevent non-gods from editing any scripts. This allows edit ability to be rescinded after it has been given, and prevents the security hole where a single script with liberal perms would allow code changes. * The default setting remains the existing one of never overruling normal edit permissions. * These two settings may be enough to stop non-gods entering artbirary script code in a closed grid/standalone configuration.
2008-11-17* refactor: move user set permissions parsing code into a separate method ↵Justin Clarke Casey1-39/+99
ready for reuse
2008-11-14* Allow new script creation to be locked down to only gods if specified in ↵Justin Clarke Casey1-9/+58
OpenSim.ini * This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment * Default remains to allow all users to create scripts (subject to existing permissions if enabled)
2008-11-14Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker1-1/+6
inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
2008-11-14* Switch default permissions back to false (so they are not on) as they were ↵Justin Clarke Casey1-5/+1
two revisions ago, since it sounds like this was our agreed position from some time back * Make the default also false (to match what is in OpenSim.ini.example)
2008-11-14* Hook up create new object event in the permissions moduleJustin Clarke Casey1-1/+2
* Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not! * Add some explanation in OpenSim.ini.example for serverside_object_permissions
2008-11-14reverting #7295, as it still fails a test case (as pointed out veryDr Scofield1-1/+1
kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
2008-11-14From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-1/+1
This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
2008-11-13* Rename all the previous methods to be User rather than Avatar (for extra ↵Justin Clarke Casey1-8/+8
bonus points) public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
2008-11-13* Add Justin Clarke Casey1-4/+64
public bool ExternalChecksCanCreateAvatarInventory(int invType, UUID userID) public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteAvatarInventory(UUID itemID, UUID userID) to ExternalChecks to handle avatar inventory checks (as opposed to object inv checks). * opensim-dev e-mail to follow concerning this shortly
2008-11-13* refactor: rename object inventory permission checks to distinguish between ↵Justin Clarke Casey1-7/+6
task inventory and agent inventory
2008-11-13* First part of a series of patchesJustin Clarke Casey1-7/+22
* Intension is to provide a way to lock down script creation to administrators/gods only * Defaults will remain as they are at the moment
2008-11-13* Attempt to make OpenSim.ini.example a bit more readable byJustin Clarke Casey1-506/+506
* Some rearrangement within sections * Indenting section contents * Also, correct indentation levels in PermissionsModule
2008-11-01* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than ↵Justin Clarke Casey1-3/+2
SOP.IsAttachment
2008-10-15* refactor: Move error logging from GetUserDetails up to callers, since ↵Justin Clarke Casey1-0/+17
there are some circumstances in which not finding a user is not an error
2008-10-07* Apply http://opensimulator.org/mantis/view.php?id=1207Justin Clarke Casey1-7/+11
* Implmements llModifyLand() and a check for the "Allow others to terraform flag" * Thanks tglion!
2008-10-06Revert r6697 patch as the build fails.Charles Krinke1-11/+7
2008-10-06Mantis#1207. Thank you, TGlion for a patch that addresses:Charles Krinke1-7/+11
Implementation of llModifyLand() and There is a bug on permission-check of land-terraforming: x an y-coordinates are interchanged on function-call ExternalChecksCanTerraformLand. Correct: x is west, and y is north. 2) Missing check of "Other allow to terraform-flag" (Parcel.ParcelFlags.AllowTerraform)
2008-09-23Update svn properties, formatting cleanup.Jeff Ames1-1/+1
2008-09-23Small fix to eliminate a beauty spotMelanie Thielker1-1/+1
2008-09-23Update the permissions system to handle scripts and notecards the wayMelanie Thielker1-1/+65
it was meant to. No functional changes, just better code
2008-09-22Move script and notecard open perms checks from ClientView to theMelanie Thielker1-2/+127
perms module
2008-09-22Remove comment in perms module after consulting with awebbMelanie Thielker1-6/+2
2008-09-22Fix a small logic error in my perms module changesMelanie Thielker1-1/+1
2008-09-22Create CanEditObjectInventory to preserve the abilityMelanie Thielker1-0/+20
to have different permissions on inventory and object edits. This may be needed by the viewer on public grids
2008-09-08fix: warnings from libomvDr Scofield1-0/+4
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-66/+66
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-03clean up and fixing a typo.Dr Scofield1-1/+1
2008-09-01Mantis #2072Melanie Thielker1-1/+14
Griefer protection! When running without serverside permissions, let only the owner edit attachments. Having everyone able to do it just isn't right.
2008-08-19Mantis #1999Melanie Thielker1-0/+3
Allow the sim owner to add estate managers to any estate on the sim
2008-08-18Formatting cleanup.Jeff Ames1-1/+1
2008-08-17Patch for Adam: Add two new permissions options to Opensim.ini.exampleMelanie Thielker1-3/+7
and the permissions module
2008-08-16Update svn properties, minor formatting cleanup.Jeff Ames1-3/+3
2008-08-16Reshuffle to eliminate prim owner lookups unless gridgods are enabledMelanie Thielker1-4/+7
2008-08-16Guard against a null ref in the permissions module when a profileMelanie Thielker1-2/+5
fetch fails.
2008-08-15Perils of copypaste. Missing references.Melanie Thielker1-1/+2
2008-08-15Fix repeated user profile info lookups. Redirect those lookups to cache.Melanie Thielker1-2/+3
2008-08-15Fix up master avatar handling for estate owners. Introduces a newMelanie Thielker1-6/+7
hierarchical rights structure. MasterAvatar: Owner of the region server (may be null), net gods (users with GodLevel 200), Estate owner (from database). Look at Opensim.ini.example to enable net gods. Estate owner will default to master avatar.
2008-08-15Update svn properties, formatting cleanup, fix a couple compiler warnings.Jeff Ames1-2/+2
2008-08-14Make the estate owner work. Changes permissions checks to allow theMelanie Thielker1-1/+7
estate owner user the ability to add and remove estate managers, and have EM rights outside of that.
2008-08-13Make the estate owner UUID from the database have the same rightsMelanie Thielker1-1/+7
as the region master avatar, unless it's LLUUID.Zero (the default).
2008-07-25*Added CommandIntentions that is used to describe a console commands hazard. ↵mingchen1-2/+2
HAZARDOUS if it modifies the simulator, NON_HAZARDOUS if it does a command that doesn't modify the simulator but does a background command such as a forced backup, and STATISTICAL if it returns debug or more information. *This is useful for implementing a protection system from unwanted script execution or for application modules needing to know what a command does.
2008-07-23refactored LandData to use properties, and cleaned up the naming onSean Dague1-6/+6
the properties a bit to be more consistant with other objects (having things like .Name .Description, etc).
2008-07-18Patch #9151Melanie Thielker1-11/+1
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-12Patches #9143 and #9144 (Mantis #1723)Melanie Thielker1-1/+1
Changes the permissions module to make scripts permissive only when intended Adds security checks to asset transfers to prevent hacked clients fron requesting script sources. Adds security checks to llClientView to verify all aspects of ownership and permissions for inventory based script retrieval.
2008-07-11* Oops, turn off permissions debugging I stupidly hardcodedJustin Clarke Casey1-1/+1
2008-07-11* Put an info entry in the log if permissions are being bypassedJustin Clarke Casey1-1/+10
* might help to diagnose mantis 1712
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke1-1/+2
not break trunk.
2008-06-27move along, nothing to see here. just a couple of lazy variables.Dr Scofield1-5/+5
2008-06-26Mantis#1597. Thank you, Melanie for a patch that:Charles Krinke1-0/+9
Adds handlers for the reclaim land functionality, plus all needed permissions checks.