EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06427
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Antwort: Re: BatchEdit permission name
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] Antwort: Re: BatchEdit permission name
- From: adam <adam@adamfield.net>
- Date: Fri, 07 Apr 2017 22:13:11 +0100
Thank you Adam and Martin. That was what I was looking for, nice and simple.
Now if only I could find a way to do a Batch Edit for “Theses (Ph. D.)” in a field (so that I can replace it with “Ph. D.”.
My understanding is that the Batch Edit is only available from the “editor” search, which works like the Advanced search interface, offering “all of” or “any
of” as options for searching within a field. So when I search for “Theses (Ph. D.)”, I get this:
Degree matches "Theses (Ph. D.)" (Ignoring: "D", "Ph").
If it ignores the “Ph” and the “D”, then it is not specific enough and catches to many items.
And thus, it looks like to make this replace, I would have to use Perl scripting, right? Is there any way to set the advanced search to do phrase searching
and/or not ignore “D” and “Ph” in my criteria?
Tomasz
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of martin.braendle@id.uzh.ch
Sent: April-07-17 11:20 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Antwort: Re: BatchEdit permission name
Hi Tomasz,
I wanted just to tell the same, in the cfg.d/user_roles.pl, add
+eprint/archive/edit, but Adam was faster.
BTW, there's a useful extension to BatchEdit on
https://github.com/eprintsug/batchedit-extended that allows
find/replace on multiple compound fields.
Best regards,
Martin
--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Stampfenbachstr. 73
CH-8006 Zürich
Adam
Field ---07/04/2017 17:05:27---Hi Tomasz
Von:
Adam Field <adam@adamfield.net>
An:
<eprints-tech@ecs.soton.ac.uk>
Datum:
07/04/2017 17:05
Betreff:
Re: [EP-tech] BatchEdit permission name
Gesendet von:
eprints-tech-bounces@ecs.soton.ac.uk
Hi Tomasz
The permission is eprint/archive/edit – see
https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Plugin/Screen/BatchEdit.pm#L37
In the roles field, add +eprint/archive/edit
HOWEVER, I don’t know if this will unlock other bits of functionality. It kindof looks like it might – be sure you trust the user’s intentions and capabilities.
--
Adam
From:
<eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Friday, 7 April 2017 15:49
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] BatchEdit permission name
I want to add the permission to an Editor account for access to BatchEdit function.
Right now, only an admin account can access this screen, an editor gets this error: “You may not view this screen: BatchEdit.”
I couldn’t find the name of the relevant permission here:
https://wiki.eprints.org/w/User_roles.pl#Assigning_a_user_privilege
How do I assign permission for an Editor to have access to BatchEdit?
Tomasz
________________________________________________
Tomasz Neugebauer
Digital Projects & Systems Development Librarian / Bibliothécaire des Projets Numériques & Développement de Systèmes
Library / Bibliothèque
Concordia University / Université Concordia
Tel. / Tél. 514-848-2424 ext. / poste 7738
Email / courriel: tomasz.neugebauer@concordia.ca
Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8
Street address / adresse municipale: 1400 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8
http://library.concordia.ca
http://www.concordia.ca/faculty/tomasz-neugebauer.html
*** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive:
http://www.eprints.org/tech.php/ *** EPrints community wiki:
http://wiki.eprints.org/ *** EPrints developers Forum:
http://forum.eprints.org/ *** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
- Prev by Date: Re: [EP-tech] Antwort: Re: BatchEdit permission name
- Next by Date: Re: [EP-tech] Antwort: Re: BatchEdit permission name
- Previous by thread: [EP-tech] Linkcheck
- Next by thread: Re: [EP-tech] Antwort: Re: BatchEdit permission name
- Index(es):