Commit Graph

1721 Commits

Author SHA1 Message Date
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
UbitUmarov
6eaa8948a6 bad move.. revert 2017-01-14 23:23:56 +00:00
UbitUmarov
24d12dfba4 permissions GenerateClientFlags() also needs group GetEffectivePermissions() for the everyone case. Current naive uncached GetEffectivePermissions() must be improved since its now a lot more used. 2017-01-14 22:19:20 +00:00
UbitUmarov
3e0a61915f GenerateClientFlags: consider locked state, change object group; CanRezObject: remove odd elses and group roles are only for group owned land 2017-01-12 16:58:59 +00:00
UbitUmarov
0d538cb24c stop using a GetPermissionClass() in GenerateClientFlags since it is not good enough, just process the several cases inline 2017-01-11 22:47:31 +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
6d44ee9099 Change improperly named isNPC to be IsNPC as a property should be uppercase 2017-01-07 20:30:51 +00:00