Make default import definitions available only to admins

This commit is contained in:
Nathan Gray 2011-05-24 15:40:22 +00:00
parent 7f06d6af00
commit cae8752274
5 changed files with 6 additions and 8 deletions

View File

@ -92,8 +92,7 @@
<entry type="string" name="plugin">addressbook_import_contacts_csv</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
<entry type="string" name="1">Admins</entry>
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>

View File

@ -47,8 +47,7 @@
<entry type="string" name="plugin">calendar_import_csv</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
<entry type="string" name="1">Admins</entry>
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>
@ -106,7 +105,7 @@
<entry type="string" name="plugin">calendar_import_ical</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="string" name="plugin_options"/>
</entry>

View File

@ -55,7 +55,7 @@
<entry type="string" name="plugin">infolog_import_infologs_csv</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>

View File

@ -43,7 +43,7 @@
<entry type="string" name="plugin">resources_import_csv</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>

View File

@ -44,7 +44,7 @@
<entry type="string" name="plugin">timesheet_import_csv</entry>
<entry type="string" name="type">import</entry>
<entry type="array" name="allowed_users">
<entry type="string" name="0">Default</entry>
<entry type="string" name="0">Admins</entry>
</entry>
<entry type="array" name="plugin_options">
<entry type="string" name="fieldsep">;</entry>