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/BodyPartsLibrary | |
parent | Fix problem where sculpts were not getting physical proxies (diff) | |
download | opensim-SC-667b54f5a2a04fa5a2859397868d270eab3913f1.zip opensim-SC-667b54f5a2a04fa5a2859397868d270eab3913f1.tar.gz opensim-SC-667b54f5a2a04fa5a2859397868d270eab3913f1.tar.bz2 opensim-SC-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/BodyPartsLibrary')
-rw-r--r-- | bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml b/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml index aa8d9d9..d9adf1c 100644 --- a/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml +++ b/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.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,10 +20,6 @@ | |||
24 | <Key Name="name" Value="Hair" /> | 20 | <Key Name="name" Value="Hair" /> |
25 | <Key Name="assetType" Value="13" /> | 21 | <Key Name="assetType" Value="13" /> |
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> |
32 | 24 | ||
33 | <Section Name="Skin"> | 25 | <Section Name="Skin"> |
@@ -38,10 +30,6 @@ | |||
38 | <Key Name="name" Value="Skin" /> | 30 | <Key Name="name" Value="Skin" /> |
39 | <Key Name="assetType" Value="13" /> | 31 | <Key Name="assetType" Value="13" /> |
40 | <Key Name="inventoryType" Value="18" /> | 32 | <Key Name="inventoryType" Value="18" /> |
41 | <Key Name="currentPermissions" Value="2147483647" /> | ||
42 | <Key Name="nextPermissions" Value="2147483647" /> | ||
43 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
44 | <Key Name="basePermissions" Value="2147483647" /> | ||
45 | </Section> | 33 | </Section> |
46 | --> | 34 | --> |
47 | <!-- | 35 | <!-- |
@@ -53,10 +41,6 @@ | |||
53 | <Key Name="name" Value="Jim Skin" /> | 41 | <Key Name="name" Value="Jim Skin" /> |
54 | <Key Name="assetType" Value="13" /> | 42 | <Key Name="assetType" Value="13" /> |
55 | <Key Name="inventoryType" Value="13" /> | 43 | <Key Name="inventoryType" Value="13" /> |
56 | <Key Name="currentPermissions" Value="2147483647" /> | ||
57 | <Key Name="nextPermissions" Value="2147483647" /> | ||
58 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
59 | <Key Name="basePermissions" Value="2147483647" /> | ||
60 | </Section> | 44 | </Section> |
61 | 45 | ||
62 | <Section Name="Little Goblin Skin"> | 46 | <Section Name="Little Goblin Skin"> |
@@ -67,10 +51,6 @@ | |||
67 | <Key Name="name" Value="Little Goblin Skin" /> | 51 | <Key Name="name" Value="Little Goblin Skin" /> |
68 | <Key Name="assetType" Value="13" /> | 52 | <Key Name="assetType" Value="13" /> |
69 | <Key Name="inventoryType" Value="13" /> | 53 | <Key Name="inventoryType" Value="13" /> |
70 | <Key Name="currentPermissions" Value="2147483647" /> | ||
71 | <Key Name="nextPermissions" Value="2147483647" /> | ||
72 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
73 | <Key Name="basePermissions" Value="2147483647" /> | ||
74 | </Section> | 54 | </Section> |
75 | --> | 55 | --> |
76 | <!-- | 56 | <!-- |
@@ -82,10 +62,6 @@ | |||
82 | <Key Name="name" Value="Shape" /> | 62 | <Key Name="name" Value="Shape" /> |
83 | <Key Name="assetType" Value="13" /> | 63 | <Key Name="assetType" Value="13" /> |
84 | <Key Name="inventoryType" Value="18" /> | 64 | <Key Name="inventoryType" Value="18" /> |
85 | <Key Name="currentPermissions" Value="2147483647" /> | ||
86 | <Key Name="nextPermissions" Value="2147483647" /> | ||
87 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
88 | <Key Name="basePermissions" Value="2147483647" /> | ||
89 | </Section> | 65 | </Section> |
90 | --> | 66 | --> |
91 | <!-- | 67 | <!-- |
@@ -97,10 +73,6 @@ | |||
97 | <Key Name="name" Value="Jim Shape" /> | 73 | <Key Name="name" Value="Jim Shape" /> |
98 | <Key Name="assetType" Value="13" /> | 74 | <Key Name="assetType" Value="13" /> |
99 | <Key Name="inventoryType" Value="13" /> | 75 | <Key Name="inventoryType" Value="13" /> |
100 | <Key Name="currentPermissions" Value="2147483647" /> | ||
101 | <Key Name="nextPermissions" Value="2147483647" /> | ||
102 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
103 | <Key Name="basePermissions" Value="2147483647" /> | ||
104 | </Section> | 76 | </Section> |
105 | 77 | ||
106 | <Section Name="Little Goblin Shape"> | 78 | <Section Name="Little Goblin Shape"> |
@@ -111,10 +83,7 @@ | |||
111 | <Key Name="name" Value="Little Goblin Shape" /> | 83 | <Key Name="name" Value="Little Goblin Shape" /> |
112 | <Key Name="assetType" Value="13" /> | 84 | <Key Name="assetType" Value="13" /> |
113 | <Key Name="inventoryType" Value="13" /> | 85 | <Key Name="inventoryType" Value="13" /> |
114 | <Key Name="currentPermissions" Value="2147483647" /> | ||
115 | <Key Name="nextPermissions" Value="2147483647" /> | ||
116 | <Key Name="everyonePermissions" Value="2147483647" /> | ||
117 | <Key Name="basePermissions" Value="2147483647" /> | ||
118 | </Section> | 86 | </Section> |
119 | --> | 87 | --> |
88 | |||
120 | </Nini> | 89 | </Nini> |