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
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
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
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
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
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
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
UbitUmarov
ed526916b7
update permissions module with the new options
2017-01-07 16:27:06 +00:00
UbitUmarov
0b912b2acc
Remove parcel_owner_is_god option. It is conceptually wrong and with
...
limited use. Relevant parcel owners can just be made estate managers with better regions management logic
2017-01-06 15:00:55 +00:00
Melanie Thielker
ad8915f154
Restructure god level and permissions
...
Create a class GodController which controls all aspects of god level,
viewer modes and user levels at ScenePresence level.
2017-01-06 00:55:14 +00:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
Melanie Thielker
4468aa0dcf
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-07-04 03:37:45 +01:00
Melanie Thielker
ea8f3c83bf
Finally remove the requirement for an InventoryItem/FolderBase object to
...
be passed into inventory queries.
This makes the API more homogenous and also will more clearly show
coding
errors related to HG inventory where the .Owner field has a meaning
for a query but wasn't always set.
2016-07-04 03:35:48 +01:00
UbitUmarov
58135ef52c
fix a lost region size of 256m
2016-07-03 19:39:13 +01: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
Melanie Thielker
1e44aba620
According to the SL wiki, estate managers can set parcels for sale. Make it sew.
2016-05-02 21:40:14 +02:00
UbitUmarov
170acd7d67
change parcel_owner_is_god configuration option from default from true to false, leaving only region_owner true by default
2016-01-30 15:42:59 +00:00