diff options
author | Justin Clark-Casey (justincc) | 2011-07-23 01:59:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-23 01:59:14 +0100 |
commit | 667b54f5a2a04fa5a2859397868d270eab3913f1 (patch) | |
tree | bf91543d5c0c4aa6f1a25873be6acb86144675bc /bin/inventory/ClothingLibrary/ClothingLibraryItems.xml | |
parent | Fix problem where sculpts were not getting physical proxies (diff) | |
download | opensim-SC_OLD-667b54f5a2a04fa5a2859397868d270eab3913f1.zip opensim-SC_OLD-667b54f5a2a04fa5a2859397868d270eab3913f1.tar.gz opensim-SC_OLD-667b54f5a2a04fa5a2859397868d270eab3913f1.tar.bz2 opensim-SC_OLD-667b54f5a2a04fa5a2859397868d270eab3913f1.tar.xz |
Don't load current/next/everyone/base permissions from the library item xml files - always use PermissionMask.All instead (which was the existing default).
Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes.
Diffstat (limited to 'bin/inventory/ClothingLibrary/ClothingLibraryItems.xml')
-rw-r--r-- | bin/inventory/ClothingLibrary/ClothingLibraryItems.xml | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml b/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml index 9e297f0..a12bb8a 100644 --- a/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml +++ b/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml | |||
@@ -9,10 +9,6 @@ | |||
9 | <Key Name="name" Value="Example Library Item" /> | 9 | <Key Name="name" Value="Example Library Item" /> |
10 | <Key Name="assetType" Value="7" /> | 10 | <Key Name="assetType" Value="7" /> |
11 | <Key Name="inventoryType" Value="7" /> | 11 | <Key Name="inventoryType" Value="7" /> |
12 | <Key Name="currentPermissions" Value="2147483647" /> | ||
13 | <Key Name="nextPermissions" Value="2147483647" /> | ||
14 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
15 | <Key Name="basePermissions" Value="2147483647" /> | ||
16 | </Section> | 12 | </Section> |
17 | --> | 13 | --> |
18 | <!-- | 14 | <!-- |
@@ -24,11 +20,8 @@ | |||
24 | <Key Name="name" Value="Shirt" /> | 20 | <Key Name="name" Value="Shirt" /> |
25 | <Key Name="assetType" Value="5" /> | 21 | <Key Name="assetType" Value="5" /> |
26 | <Key Name="inventoryType" Value="18" /> | 22 | <Key Name="inventoryType" Value="18" /> |
27 | <Key Name="currentPermissions" Value="2147483647" /> | ||
28 | <Key Name="nextPermissions" Value="2147483647" /> | ||
29 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
30 | <Key Name="basePermissions" Value="2147483647" /> | ||
31 | </Section> | 23 | </Section> |
24 | |||
32 | <Section Name="Pants"> | 25 | <Section Name="Pants"> |
33 | <Key Name="inventoryID" Value="d5e46211-b9d1-11dc-95ff-0800200c9a66" /> | 26 | <Key Name="inventoryID" Value="d5e46211-b9d1-11dc-95ff-0800200c9a66" /> |
34 | <Key Name="assetID" Value="00000000-38f9-1111-024e-222222111120" /> | 27 | <Key Name="assetID" Value="00000000-38f9-1111-024e-222222111120" /> |
@@ -37,10 +30,7 @@ | |||
37 | <Key Name="name" Value="Pants" /> | 30 | <Key Name="name" Value="Pants" /> |
38 | <Key Name="assetType" Value="5" /> | 31 | <Key Name="assetType" Value="5" /> |
39 | <Key Name="inventoryType" Value="18" /> | 32 | <Key Name="inventoryType" Value="18" /> |
40 | <Key Name="currentPermissions" Value="2147483647" /> | ||
41 | <Key Name="nextPermissions" Value="2147483647" /> | ||
42 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
43 | <Key Name="basePermissions" Value="2147483647" /> | ||
44 | </Section> | 33 | </Section> |
45 | --> | 34 | --> |
35 | |||
46 | </Nini> | 36 | </Nini> |