UbitUmarov
c0231fe169
Oops.. fix the null on the correct place.. jenkis may now fail for another reason
2017-01-21 00:18:25 +00:00
UbitUmarov
48f137599f
fix a null ref on jenkins
2017-01-20 23:36:35 +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
97e6f21c6c
actually make use of it as viewers requested
2017-01-19 18:33:00 +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
b9651652e1
add a comment about parts permissions aggregation
2017-01-19 13:25:00 +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
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
b23ce04a6e
enforce effective perms hierarchy
2017-01-18 21:17:09 +00:00
UbitUmarov
e2c2d92d5a
antecipate baked cache check and Xbakes requests, so they happen before viewer check request (or force it to wait via locking).
2017-01-18 02:29:05 +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
db2fbf6516
add more calls to effective permissions aggregation, some paths may still be missing on objects changes, but remove the aggregation on check paths, so all can be tested.
2017-01-17 13:24:09 +00:00
UbitUmarov
1113407280
add more calls to effective permissions aggregation; do not change groupmask on deed
2017-01-17 01:22:44 +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
2b5ef89272
remove now unused SetRootPartOwner()
2017-01-16 20:37:04 +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
6735d3496c
fix EffectiveGroupOrEveryOnePerms C&T == 0 case
2017-01-16 19:49:07 +00:00
UbitUmarov
ffa6c7aae2
avoid lastOwner beeing the group
2017-01-16 19:22:39 +00:00
UbitUmarov
733072b6a3
chance new effective permissions code to ease aggregation on demand( ie on changes). But still doing full aggregation on checks, so still heavy
2017-01-16 19:01:41 +00:00
Melanie Thielker
d78f04b326
Merge branch 'melanie'
2017-01-16 14:55:54 +00:00
Melanie Thielker
568614af2c
Remove the last instance of the legacy slam but being set
...
New objects now get only the real slam bit.
2017-01-16 14:53:42 +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
e475e65828
use of PermissionMask Bit3 for slam was a recent mistake, so make it only bit4 and move folded export to its more natural place as bit3
2017-01-15 13:43:54 +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
e28ac282eb
oops fix FolderMask acording
2017-01-14 16:49:56 +00:00
UbitUmarov
1ff831c45b
make the Slam bit actually be the two previus used ones, to try to minimize compatibilty issues
2017-01-14 16:33:51 +00:00
UbitUmarov
fb86e41561
fix incoerent definition of Slam bit (bits 3 and 4 used in diferent
...
places.) this may still be wrong on other places; Do not loose folded
permitions, WARNING MASTER IS NOW UNSTABLE. permissions are still broken"
2017-01-14 14:21:50 +00:00
UbitUmarov
e263730ada
fix: send viewers the Everyone permitions of items inside other objects
2017-01-14 11:25:44 +00:00
Melanie Thielker
da51edb5fe
Fix the new permissions error introduced with the inventory fix
...
The fix to allow setting perms in inventory accidentally caused folded
permissions to be used as a mask for the next owner perms. The current
solution isn't optimal but better than anything else we have had.
Legacy objects may experience a net loss of permissions if trying to
set their perms in inventory, this is deemed preferable to the prior
privilege escalation possibility. New items will handle properly.
2017-01-13 23:47:26 +00:00
Melanie Thielker
b9eb3afb62
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-13 17:09:26 +00:00
Melanie Thielker
c74fa02d87
Harmonize case in Permissions enum
2017-01-13 17:09:08 +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
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
Melanie Thielker
dafb362b60
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-11 23:05:39 +00:00
Melanie Thielker
14d6d6f7a5
Also add the ability to quit on SIGTERM for ROBUST
2017-01-11 23:05:06 +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
386a8136c9
don't let object lastowner be its group
2017-01-11 18:41:06 +00:00