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/NotecardsLibrary | |
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/NotecardsLibrary')
-rw-r--r-- | bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml b/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml index 713c365..e232bcc 100644 --- a/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml +++ b/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.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="Welcome" /> | 20 | <Key Name="name" Value="Welcome" /> |
25 | <Key Name="assetType" Value="7" /> | 21 | <Key Name="assetType" Value="7" /> |
26 | <Key Name="inventoryType" Value="7" /> | 22 | <Key Name="inventoryType" Value="7" /> |
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="Example notecard"> | 25 | <Section Name="Example notecard"> |
33 | <Key Name="inventoryID" Value="a170ffc0-b9c7-11dc-95ff-0800200c9a66" /> | 26 | <Key Name="inventoryID" Value="a170ffc0-b9c7-11dc-95ff-0800200c9a66" /> |
34 | <Key Name="assetID" Value="8d1ada50-b9c7-11dc-95ff-0800200c9a66" /> | 27 | <Key Name="assetID" Value="8d1ada50-b9c7-11dc-95ff-0800200c9a66" /> |
@@ -37,9 +30,6 @@ | |||
37 | <Key Name="name" Value="Example notecard" /> | 30 | <Key Name="name" Value="Example notecard" /> |
38 | <Key Name="assetType" Value="7" /> | 31 | <Key Name="assetType" Value="7" /> |
39 | <Key Name="inventoryType" Value="7" /> | 32 | <Key Name="inventoryType" Value="7" /> |
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> |
34 | |||
45 | </Nini> | 35 | </Nini> |