57 Commits

Author SHA1 Message Date
UbitUmarov
7902a94113 cosmetics 2023-01-12 17:10:59 +00:00
UbitUmarov
3a02bf077d let log4net find its configuration with Robust also 2022-10-15 03:06:29 +01:00
UbitUmarov
ac65a5903e c# sugar... 2022-10-08 03:28:27 +01:00
UbitUmarov
357f20eb14 == UUID.Zero is slow 2022-01-08 23:35:56 +00:00
UbitUmarov
a049e37952 go back using File.Exists on flotsam 2020-08-14 01:49:58 +01:00
UbitUmarov
2476d711c4 go back to events with wrong signatures, at least while they still work 2020-08-09 17:57:32 +01:00
UbitUmarov
5413e19a5c stop calling events to things that are not events (just a little few) 2020-08-08 00:06:49 +01:00
UbitUmarov
fb54ca39d1 cosmetics ( i hope) 2020-08-07 22:10:53 +01:00
UbitUmarov
b4d9f7ffe8 terraforming changes: support selected parcel edit; fix area smooth 2019-11-10 02:48:54 +00:00
UbitUmarov
d62aed7f46 fix right to change permissions of group owned objects 2017-05-03 21:12:16 +01:00
UbitUmarov
eb11505d19 add bool CanObjectEnterWithScripts(SceneObjectGroup sog, ILandObject land) permissions check 2017-04-03 16:10:05 +01:00
UbitUmarov
9a01fddd1c add CanSellObject() permitions check functions 2017-03-30 17:39:21 +01:00
UbitUmarov
0091c37ed3 several changes relative to objects return and parcel prim counts: avoid null refs, report correct count of returned objects, make obkects counts by ownership coerent with return rules, etc 2017-01-27 20:21:24 +00:00
UbitUmarov
56e3aaefde Permissions modules where made NONShared modules. Make them so, removing incoerences and their potencial bugs 2017-01-27 12:32:01 +00:00
UbitUmarov
02fbe5a740 add and use CanDropInObjectInv 2017-01-25 19:39:58 +00:00
UbitUmarov
74ac2034e0 make use of CanDoObjectInvToObjectInv 2017-01-25 16:57:46 +00:00
UbitUmarov
50e318c401 work around group sharing and owned permitions issues, fix a non copy objects delete issue 2017-01-22 03:23:50 +00:00
UbitUmarov
186f0b73cd add/fix CanRunScript 2017-01-21 10:22:00 +00:00
UbitUmarov
dac32c4e5a change CanObjectEntry() to use a SOG 2017-01-20 14:26:24 +00:00
UbitUmarov
df40cdc83e remove redundant IsGod, rename some GOD as Administrator (both only on permissions module) 2017-01-20 13:45:44 +00:00
UbitUmarov
69bcbd856b change CanDuplicateObject 2017-01-19 19:01:56 +00:00
UbitUmarov
d8108ab740 change CanDeedObject. WARNING like on other grids, if you do not set next owner rights on object and ALL ITS CONTENTS, you may loose all rights on it 2017-01-19 17:45:54 +00:00
UbitUmarov
984345a202 add CanEdit check for SOGs, iclients and SPs that need to be in scene and use it 2017-01-19 13:10:04 +00:00
UbitUmarov
7651d60d72 fix a null check 2017-01-19 12:47:14 +00:00
UbitUmarov
673bd37219 object CanMove is for in scene SOGs Icleints and SPs and permitions module is NOT a shared module 2017-01-19 12:35:00 +00:00
UbitUmarov
fe9a785ecc object Take and TakeCopy are for in scene SOPs and SPs and permitions module is NOT a shared module 2017-01-19 11:34:40 +00:00
UbitUmarov
6d784f6306 Permissions module: GenerateClientFlags() no need to keep looking for the same part several times; fix locked mask in GetObjectPermissions() 2017-01-17 23:22:02 +00:00
UbitUmarov
1984f316fc Add permission CanChangeSelectedState replacing 2 calls to check Move and Modify/edit. As those calls did, this controls changes to objects selected state for edition (simulation hold etc). 2017-01-12 17:15:36 +00:00
UbitUmarov
1253f19325 more changes to GenerateClientFlags(), use already cached presence group information, let it be aware of groups roles. (not exactly as the other grid) 2017-01-11 17:10:29 +00:00
UbitUmarov
e0ab0b3b6b change GenerateClientFlags(...) to work with a scenepresence; make use of the new IsGod to check its God rights; remove the non standard estate manager right to move other ppl prims i added on last commits; coment out a test method i added sometime ago 2017-01-11 01:02:57 +00:00
UbitUmarov
e3f7c27c93 remove obsolete PrimFlags.ObjectYouOfficer; rearrange GenerateClientFlags(...) with changes: allow estatemanager to move other ppl objects to help solve placement disputes; exclude attachments on that and from same group members 2017-01-10 23:45:19 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Diva Canto
359908fa88 Related to mantis #7929: "For sale" was not being accepted, because of permissions fail. This adds a new permissions check CanSellGroupObject. THIRD-PARTY PERMISSIONS MODULES TAKE NOTE OF THIS NEW EVENT. 2016-06-20 10:08:15 -07:00
UbitUmarov
0934e1cf71 add IsEstateManager check to Permissions 2015-12-12 10:03:07 +00:00
Melanie Thielker
d97896d39a Differentiate between requests only the owner should be able to do and those
that managers can do when setting parcel data
2014-04-26 20:32:27 +02:00
Oren Hurvitz
9622e8ac72 If a Grid God teleports then include the Godlike teleport flag. This can affect the starting position in the destination region. 2012-04-27 20:22:35 +01:00
Melanie
5286198650 Add permissions hooks for object transfers 2011-01-03 19:42:58 +00:00
Justin Clark-Casey (justincc)
3b1c91c24b remove mono compiler warnings 2010-12-17 22:35:08 +00:00
Melanie
9bd7f3b03a Revamp the viewer -> banlist packet processing so fix a number of bugs.
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties
method that takes a GroupPowers argument to specify what action is to be
taken. Also, make the method to set parcel data much more granular. Permissions
in a deeded setting should now work.
2010-12-13 20:35:56 +00:00
Melanie
d6803e6448 Change some lookups in he Land Management module to make group permissions
work better. Add a generic group permissions hoot to the scene permissions
system.
2010-12-13 20:28:14 +00:00
Justin Clark-Casey (justincc)
34b13a4765 add basic tests to check that under default permissions module owner can delete objects and that non-owners (who are also not administrators, etc.) cannot 2010-11-22 22:54:13 +00:00
Jeff Ames
f1f0bc23f4 Formatting cleanup. 2010-09-12 13:43:49 -04:00
Justin Clark-Casey (justincc)
1270727c96 Merge branch 'moap' 2010-08-06 18:29:30 +01:00
Melanie Thielker
696b6c727f Allow gods and estate managers/owners to be unaffected by parcel bans 2010-07-29 16:20:40 +01:00
Justin Clark-Casey (justincc)
ee6cd884c9 implement serverside checks for media texture navigation in order to stop naughty clients 2010-07-26 23:34:21 +01:00
Justin Clark-Casey (justincc)
51b208e96c implement prim media control permissions serverside in order to stop bad clients 2010-07-26 23:34:20 +01:00
Melanie
734b0416de Unify a previous refactor of object return with the older solution. We
really don't need two methods doing the same thing, but differently.
2010-03-18 18:57:29 +00:00
John Hurliman
2913c24c8a * Commented out two noisy debug lines in the LLUDP server
* Misc. cleanup in ScenePresence.HandleAgentUpdate()
2009-10-29 15:24:31 -07:00
Jeff Ames
ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Melanie Thielker
664dd58cd9 Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of objects, with changes:
- Set OwnerID = GroupID for deeded objects.
- Close a security loophole that would have allowed a user with deed rights in a group to deed ANY object to that group, even if it's not owned by them and/or not set to that group
- Set LastOwnerID correctly. Handle objects vs. prims correctly.
2009-06-14 21:44:34 +00:00