aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-12-18Stop hacked godmode from being able to actually move other people'sMelanie Thielker1-0/+4
attachments
2008-12-17* Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey1-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.
2008-12-17Stop users taking a copy of a in world prim that contains inventory items ↵MW1-0/+10
that have no copy permission set.
2008-12-17Added a check to CanDuplicateObject(), to stop duplicating prims that ↵MW1-0/+4
contains inventory items that you don't have permission to copy
2008-12-17Stop owners from duplicating no-copy objects in-worldMelanie Thielker1-0/+7
2008-12-09* minor: remove some old logging messagesJustin Clarke Casey1-4/+0
2008-12-03Fixes Mantis#2744: Permissions returned false for resetting scripts inHomer Horwitz1-0/+6
non-root SOPs. Now, they will use the SOG the SOP belongs to.
2008-12-01Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,Homer Horwitz1-0/+8
they will use the SOG the SOP belongs to (as it was for the root-SOP already).
2008-12-01Mantis #2729Melanie Thielker1-0/+10
Add a check for script reset permissions to the permissions module
2008-11-22Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2008-11-22Mantis #2442Melanie Thielker1-2/+11
Attempt to reinstate the Object Entry flag in parcel settings
2008-11-21Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker1-41/+41
the internals of the permissions module adapter sane
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-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
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