It seems that import functionalities are available only through the admin interface. Even though I assigned the "import from file" permission to "authenticated users" role, the users having such a role do not see any link and/or menu item for importing files.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | biblio.patch | 1.85 KB | gustav |
| #4 | biblio.patch | 2.31 KB | Levet |
Comments
Comment #1
mau-it commentedThere's already such an issue for vers. 5.x-1.13 (see http://drupal.org/node/232636):
you must create a "manual" link to "biblio/import/form".
That worked for me with biblio 5.x-1.x-dev and drupal 5.7 but cannot test on drupal 6.
One missing point, IMHO, is that I can set ANY userId for imported entries. I think a non-admin role should be let to use his own userId only.
mau
Comment #2
julou commentedI just tried with 5.x-1.15 and drupal 5.8, and it does not work… Any idea to fix it?
BTW, I am not ready yet to switch to 5.x-1.16 since I use a strongly customized version.
Thank you for your help!
Thomas
Comment #3
julou commentedComment #4
Levet commentedHere is a patch (code needs review) which gives non-admin users the ability to import biblio files provided they have 'create biblio' access rights. The patch alters the biblio.module file (function biblio_menu) and the biblio.import.export.inc file (function biblio_import_form). It also restricts the userid that can be set by the non-admin and sets it to the current users userid - admin options remain intact.
Cheers, Will
Comment #5
rjerome commentedThanks, I'll look at that and incorporate it in due course. I'm still in vacation mode...
Comment #6
gustav commentedI have attached the patch rolled against the latest code from the 6.1 branch.
Comment #7
rjerome commentedThanks, coincidentally I did more or less the same thing already today.