aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* the new options i add where actually bad idea, they would make theUbitUmarov2017-05-041-4/+3
| | | | | compatibility issue ethernal. Removed and extended the ugly date hack to group share outwards propagation, until a better way is found at least
* do the same in the cases we are just moving parts around and not changing ↵UbitUmarov2017-05-041-1/+1
| | | | their caches (ie their taskInventory)
* move deep effective permissions aggregation to first time use and not on ↵UbitUmarov2017-05-041-75/+23
| | | | changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards
* rename sog.GetEffectivePermissions() since its use is now limited to more ↵UbitUmarov2017-05-011-8/+3
| | | | specific task, and no longer on current effective(full) path. Note that change ownermask start to be current ownermask, and filter it to all parts basemask
* Permissions compatibility hack 1: anyone copy - new permissions require that ↵UbitUmarov2017-04-301-3/+8
| | | | all items in all object parts contents have anyone copy set. Old code only required it on object. This hack tries to allow objects older than today to still work as before on this. (this is a test, we may need to change it)
* a few changes to permissions folding... we are testing. at this point only ↵UbitUmarov2017-04-281-19/+6
| | | | use master for TESTING also
* add a usefull taint and updateUbitUmarov2017-04-271-27/+67
|
* CHANGED ALLOWED_DROP should only trigger if user has no MOD rightsUbitUmarov2017-01-251-53/+56
|
* work around group sharing and owned permitions issues, fix a non copy ↵UbitUmarov2017-01-221-20/+12
| | | | objects delete issue
* enforce effective perms hierarchyUbitUmarov2017-01-181-42/+59
|
* add more calls to effective permissions aggregation, some paths may still be ↵UbitUmarov2017-01-171-5/+5
| | | | missing on objects changes, but remove the aggregation on check paths, so all can be tested.
* fix EffectiveGroupOrEveryOnePerms C&T == 0 caseUbitUmarov2017-01-161-5/+27
|
* chance new effective permissions code to ease aggregation on demand( ie on ↵UbitUmarov2017-01-161-109/+89
| | | | changes). But still doing full aggregation on checks, so still heavy
* add code for fixing effective permitions. This is a test, and currently too ↵UbitUmarov2017-01-151-0/+177
| | | | slow for prodution. just finding our way home
* Massive tab and trailing space cleanupMelanie Thielker2017-01-051-13/+13
|
* leave stupid broken permissions aloneUbitUmarov2016-12-181-4/+1
|
* just give up on Export flag, seems just broken no matter water with current ↵UbitUmarov2016-12-181-1/+4
| | | | FS and singu 1.8.7
* seems to compile ( tests comented out)UbitUmarov2015-09-021-5/+2
|
* bad merge?UbitUmarov2015-09-011-4/+15
|\
| * Merge branch 'master' into careminsterMelanie2013-07-181-0/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs OpenSim/Server/Handlers/Simulation/AgentHandlers.cs OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs OpenSim/Services/HypergridService/UserAgentService.cs
| * | Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2013-03-241-0/+1
| | | | | | | | | | | | with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
| * | Merge branch 'master' into careminsterMelanie2012-07-111-1/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Watchdog.cs OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * \ \ Merge branch 'master' into careminsterMelanie2012-06-211-3/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
| * \ \ \ Merge branch 'master' into careminsterMelanie2012-03-311-4/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs OpenSim/Tests/Common/Mock/TestClient.cs
| * \ \ \ \ Merge branch 'master' into careminsterMelanie2012-02-101-0/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
| * \ \ \ \ \ Merge branch 'master' into careminsterMelanie2012-01-261-11/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/Scene.Inventory.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * | | | | | | Fix taking or returning locked objects losing permissions for ownerMelanie2011-11-121-1/+9
| | | | | | | |
| * | | | | | | Bring us up to date.Tom2011-09-141-0/+13
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into careminster-presence-refactorMelanie2011-04-211-6/+15
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Fix direct item give permissionsMelanie2011-01-121-1/+1
| | | | | | | | | |
| * | | | | | | | | Make prim inventories a bit more saneMelanie2010-12-211-43/+0
| | | | | | | | | |
| * | | | | | | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-09-171-34/+26
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate the next large patch. Don't use this version, it has a ghost avatar issue. Next push will fix it.
| * | | | | | | | | | Suppress error messages about scripts not foind if they're in fact disabledMelanie Thielker2010-08-221-0/+3
| | | | | | | | | | |
| * | | | | | | | | | Fix a permissions issueMelanie Thielker2010-07-141-7/+11
| | | | | | | | | | |
| * | | | | | | | | | Revamp the permissions propagation. This MAY mess up. Please test.Melanie Thielker2010-07-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the slam bit from 3 to 4. Assume the old slam bit is always set. The new slam bit is a "changed owner" bit, correcting a bug where an item passed from the creator to another with less than full perms, then back (sale test) would arrive back full perm. Lots of in-code docs.
| * | | | | | | | | | Merge branch 'master' into careminster-presence-refactorMelanie2010-04-191-1/+11
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Some merge fixupsMelanie2010-01-261-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Merge branch 'master' into careminsterMelanie2010-01-261-5/+5
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Convert some remaining legacy lock()s for m_parts in SceneObjectGroup to ↵CasperW2009-12-271-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ReaderWriteLockSlim, hopefully fixes a native crash
* | | | | | | | | | | | | If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)2015-02-031-0/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "take copy" option on a viewer) then only require owner copy perms, not copy and transfer. This matches Linden Lab behaviour and what was already possible via shift-copy. Transfer would not apply here as the owner and copier are the same. This is the only functional change, all other current take copy logic remains the same. Adds regression tests around relevant take copy cases.
* | | | | | | | | | | | Put guards on a bunch of exception-inducing code, as seen in logs from load ↵Diva Canto2013-07-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test.
* | | | | | | | | | | | Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie2013-03-261-0/+1
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
* | | | | | | | | | | When an attachment is detached to inv or derezzed, stop the scripts, update ↵Justin Clark-Casey (justincc)2012-07-101-1/+9
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the known item with script state still in the script engine and then remove the scripts. This is to fix a regression starting from 5301648 where attachments had to start being deleted before persistence in order to avoid race conditions with hud update threads.
* | | | | | | | | | Log how many scripts are candidates for starting and how many are actually ↵Justin Clark-Casey (justincc)2012-06-201-3/+15
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | started. Adds DebugLevel infrastructure to XEngine though currently commented out and unused.
* | | | | | | | | refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)2012-03-311-4/+4
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | the 'root' part.
* | | | | | | | When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵Justin Clark-Casey (justincc)2012-02-101-0/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permissions, not PermissionMask.All Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set. This is not correct behaviour for a freshly uploaded mesh. Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is). Should resolve http://opensimulator.org/mantis/view.php?id=5651
* | | | | | | refactor: change RezScriptFromAgentInventory(), RezNewScript() and ↵Justin Clark-Casey (justincc)2012-01-261-11/+4
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | AddInventoryItem() to accept an agent id rather than a full IClientAPI. This stops some code having to make spurious client == null checks and reduces regression test complexity.
* | | | | | Stop attempts to rewear already worn items from removing and reattaching.Justin Clark-Casey (justincc)2011-09-131-0/+13
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Viewer 2/3 will sometimes attempt to rewear attachments, even though they have already been attached during the main login process. This change ignores those attempts. This stops script failures during login, as the rewearing was racing with the script startup code. It might also help with attachments being abnormally put into deleted state. Hopefully resolves some more of http://opensimulator.org/mantis/view.php?id=5644
* | | | | minor: small amount of method doc and some commented out odds and endsJustin Clark-Casey (justincc)2011-04-211-6/+15
| | | | |
* | | | | Fix direct item give permissionsMelanie2011-01-121-1/+1
| | | | |