aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop hacked godmode from being able to actually move other people'sMelanie Thielker2008-12-181-0/+4
| | | | | | attachments
* * Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey2008-12-171-1/+1
| | | | | | | | | is in the Tools menu available when editing an object * This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed object.
* Stop users taking a copy of a in world prim that contains inventory items ↵MW2008-12-171-0/+10
| | | | that have no copy permission set.
* Added a check to CanDuplicateObject(), to stop duplicating prims that ↵MW2008-12-171-0/+4
| | | | contains inventory items that you don't have permission to copy
* Stop owners from duplicating no-copy objects in-worldMelanie Thielker2008-12-171-0/+7
|
* * minor: remove some old logging messagesJustin Clarke Casey2008-12-091-4/+0
|
* Fixes Mantis#2744: Permissions returned false for resetting scripts inHomer Horwitz2008-12-031-0/+6
| | | | | non-root SOPs. Now, they will use the SOG the SOP belongs to.
* Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,Homer Horwitz2008-12-011-0/+8
| | | | | they will use the SOG the SOP belongs to (as it was for the root-SOP already).
* Mantis #2729Melanie Thielker2008-12-011-0/+10
| | | | | | Add a check for script reset permissions to the permissions module
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-221-1/+1
|
* Mantis #2442Melanie Thielker2008-11-221-2/+11
| | | | | | Attempt to reinstate the Object Entry flag in parcel settings
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-41/+41
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-3/+3
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* * Add allowed_script_editors to OpenSim.ini in the same fashion as ↵Justin Clarke Casey2008-11-171-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.
* * refactor: move user set permissions parsing code into a separate method ↵Justin Clarke Casey2008-11-171-39/+99
| | | | ready for reuse
* * Allow new script creation to be locked down to only gods if specified in ↵Justin Clarke Casey2008-11-141-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)
* Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker2008-11-141-1/+6
| | | | | | | inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
* * Switch default permissions back to false (so they are not on) as they were ↵Justin Clarke Casey2008-11-141-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)
* * Hook up create new object event in the permissions moduleJustin Clarke Casey2008-11-141-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
* reverting #7295, as it still fails a test case (as pointed out veryDr Scofield2008-11-141-1/+1
| | | | | | | | kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-141-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
* * Rename all the previous methods to be User rather than Avatar (for extra ↵Justin Clarke Casey2008-11-131-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)
* * Add Justin Clarke Casey2008-11-131-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
* * refactor: rename object inventory permission checks to distinguish between ↵Justin Clarke Casey2008-11-131-7/+6
| | | | task inventory and agent inventory
* * First part of a series of patchesJustin Clarke Casey2008-11-131-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
* * Attempt to make OpenSim.ini.example a bit more readable byJustin Clarke Casey2008-11-131-506/+506
| | | | | | | | * Some rearrangement within sections * Indenting section contents * Also, correct indentation levels in PermissionsModule
* * refactor: Convert most non SOP methods to use SOG.IsAttachment rather than ↵Justin Clarke Casey2008-11-011-3/+2
| | | | SOP.IsAttachment
* * refactor: Move error logging from GetUserDetails up to callers, since ↵Justin Clarke Casey2008-10-151-0/+17
| | | | there are some circumstances in which not finding a user is not an error
* * Apply http://opensimulator.org/mantis/view.php?id=1207Justin Clarke Casey2008-10-071-7/+11
| | | | | | | * Implmements llModifyLand() and a check for the "Allow others to terraform flag" * Thanks tglion!
* Revert r6697 patch as the build fails.Charles Krinke2008-10-061-11/+7
|
* Mantis#1207. Thank you, TGlion for a patch that addresses:Charles Krinke2008-10-061-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)
* Update svn properties, formatting cleanup.Jeff Ames2008-09-231-1/+1
|
* Small fix to eliminate a beauty spotMelanie Thielker2008-09-231-1/+1
|
* Update the permissions system to handle scripts and notecards the wayMelanie Thielker2008-09-231-1/+65
| | | | | | it was meant to. No functional changes, just better code
* Move script and notecard open perms checks from ClientView to theMelanie Thielker2008-09-221-2/+127
| | | | | | perms module
* Remove comment in perms module after consulting with awebbMelanie Thielker2008-09-221-6/+2
|
* Fix a small logic error in my perms module changesMelanie Thielker2008-09-221-1/+1
|
* Create CanEditObjectInventory to preserve the abilityMelanie Thielker2008-09-221-0/+20
| | | | | | | to have different permissions on inventory and object edits. This may be needed by the viewer on public grids
* fix: warnings from libomvDr Scofield2008-09-081-0/+4
|
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-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.
* clean up and fixing a typo.Dr Scofield2008-09-031-1/+1
|
* Mantis #2072Melanie Thielker2008-09-011-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.
* Mantis #1999Melanie Thielker2008-08-191-0/+3
| | | | | | Allow the sim owner to add estate managers to any estate on the sim
* Formatting cleanup.Jeff Ames2008-08-181-1/+1
|
* Patch for Adam: Add two new permissions options to Opensim.ini.exampleMelanie Thielker2008-08-171-3/+7
| | | | | | and the permissions module
* Update svn properties, minor formatting cleanup.Jeff Ames2008-08-161-3/+3
|
* Reshuffle to eliminate prim owner lookups unless gridgods are enabledMelanie Thielker2008-08-161-4/+7
|
* Guard against a null ref in the permissions module when a profileMelanie Thielker2008-08-161-2/+5
| | | | | | fetch fails.
* Perils of copypaste. Missing references.Melanie Thielker2008-08-151-1/+2
|
* Fix repeated user profile info lookups. Redirect those lookups to cache.Melanie Thielker2008-08-151-2/+3
|