EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02425


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Editorial rights restrictions


On 11/18/2013 4:50 PM, Sebastien Francois wrote:
Hi Andras,

On 18/11/13 12:19, András Micsik wrote:
Dear All,

	I have some questions about editorial rights restrictions:

- After I set a restriction on division or subject, how can I clear it? I
cannot unselect all options after I selected one...
Hit the [Ctrl] key and un-select.

- A trickier one: I need to set restrictions based on creators field. I added
creators to the user_review_scope.pl config file. When I try to access an item
and it checks the editorial restriction, I get this error:

The field would be "creators_name" I think - "creators" is a virtual
field to gather creators_name and creators_id (usually the email
address) together.

I don't think restricting the scope to a "name" is going to work very
well - "names" are not unique ID fields unlike divisions/subjects etc.
If anything restrict against the _id bit.

Yes I know, we may live with id checking, because it works.
With creators_name it does not work, I think the problem is that creators_name is a compound as well.

thanks,
Andras

Seb


Unsupported attempt to search compound field on kdk.eprint.creators
------------------------------------------------------------------
    at /usr/share/eprints/perl_lib/EPrints/MetaField/Compound.pm line 570

Do you know a workaround? How can I match the creators' full name or family
name subfield against a string? Practically, I need to check if any of the
creators has the same name as the current user.

thanks,


*** 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/