Commit Graph

1729 Commits

Author SHA1 Message Date
UbitUmarov
28d8eda768 buysell: make sure we dont buy child parts, dont mess with absolute position its useless with variable size regions, and its a rezing job 2017-05-01 14:42:38 +01:00
UbitUmarov
60dc124872 rename sog.GetEffectivePermissions() since its use is now limited to more 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 2017-05-01 14:18:59 +01:00
Melanie Thielker
cf1064a245 Add a missing viewer-relevant message to the perms module 2017-04-30 13:24:48 +01:00
UbitUmarov
d8341588b3 nore permissions masks hierachy 2017-04-29 23:59:56 +01:00
UbitUmarov
fedd1a93d2 buysell: fix permissions masks hierachy 2017-04-29 23:09:32 +01:00
UbitUmarov
522695c821 update folded permitions if taking from world, or after unfold 2017-04-29 22:09:45 +01:00
UbitUmarov
04117d9f75 recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use easys code readability 2017-04-29 19:07:04 +01:00
UbitUmarov
019b34ea39 BuySell: bug fix, use all object permitions for sold item, and not the operation rights one 2017-04-28 23:05:14 +01:00
UbitUmarov
eb11505d19 add bool CanObjectEnterWithScripts(SceneObjectGroup sog, ILandObject land) permissions check 2017-04-03 16:10:05 +01:00
Melanie Thielker
b033a2559e Adapt to a variable name that has changed in core 2017-03-31 14:55:54 +01:00
Melanie Thielker
5587ee4500 Merge branch 'melanie' 2017-03-31 14:50:14 +01:00
Melanie Thielker
a6ecedb72a Also ignore NPCs in short-circuiting region restarts 2017-03-31 14:38:42 +01:00
Melanie Thielker
3e880cee45 Allow short-circuiting region restart delays of there are no users left 2017-03-31 14:38:41 +01:00
Melanie Thielker
27fdf3094d A god is a god is a god. Let gods access scripts and NCs
Support staff are not of much help if they can't see the script a user
has issues with.
2017-03-31 14:38:40 +01:00
UbitUmarov
9a01fddd1c add CanSellObject() permitions check functions 2017-03-30 17:39:21 +01:00
UbitUmarov
d4111ff670 fix SimwideArea again 2017-01-27 20:59:56 +00: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
4b9c94a3aa bug fix: wrong enabled check 2017-01-27 13:10:57 +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
b45f6b933f fix a bug in CanCopyObjectInventory; add CanDoObjectInvToObjectInv ( not wired) 2017-01-24 14:01:39 +00:00
UbitUmarov
c673ef7e3c replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module 2017-01-22 23:05:39 +00:00
UbitUmarov
8d99c86f96 share before groupr roles was a testing elsewhere induced mistake, clean it up 2017-01-22 05:07:43 +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
c14ec1a9bd a few more changes on permissions 2017-01-21 14:22:32 +00:00
UbitUmarov
7a1d9e213e fix CanReturnObjects 2017-01-21 11:21:36 +00:00
UbitUmarov
186f0b73cd add/fix CanRunScript 2017-01-21 10:22:00 +00:00
UbitUmarov
9d61df0887 fix CanObjectEntry and CanTerraformLand group permissions 2017-01-21 05:14:13 +00:00
UbitUmarov
b20bd1a9df change the initialization point of SimwideArea 2017-01-21 03:35:59 +00:00
UbitUmarov
85a31c9e76 initialize SimwideArea 2017-01-21 02:29:08 +00:00
UbitUmarov
05196ebe27 test jenkins 2017-01-20 22:50:50 +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
6826ca9b57 fix the meaning of objectDuplicate[OnRay]() flags parameter but still not using it 2017-01-19 18:25:25 +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
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
b9ecc962ac a few more aux methods and changes 2017-01-19 10:27:30 +00:00
UbitUmarov
3b96cd8ff2 add a GetItemPermissions() to be used use on object contents checks in Permissions module 2017-01-19 00:51:55 +00:00
UbitUmarov
1ff7e34996 a few more changes on Permissions module 2017-01-18 22:25:49 +00:00
UbitUmarov
e963789714 Permissions module: fix in prim inv CanEditNotecard group edit rights check ( in last commit plz read .. by GetObjectPermissions) 2017-01-18 01:16:58 +00:00
UbitUmarov
c14d81f538 Permissions module: replace some GenericObjectPermission by GenericObjectPermission on some checks. Note that in some cases behavour is now diferent. 2017-01-18 00:42:08 +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
06bca0388f Permissions module: add GetObjectPermissions() that should replace GenericObjectPermission 2017-01-17 14:30:20 +00:00
UbitUmarov
a5c693e302 start adding calls to effective permissions aggregation on changes; rearrange code in DuplicateObject(); 2017-01-17 00:41:30 +00:00
UbitUmarov
180add745c replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart 2017-01-16 20:27:39 +00:00
UbitUmarov
b9e2606c2f add code for fixing effective permitions. This is a test, and currently too slow for prodution. just finding our way home 2017-01-15 16:15:40 +00:00