[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Editorial rights restrictions

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.


> 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,