EPrints Technical Mailing List Archive

Message: #08547


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

Re: [EP-tech] How to add User Review Scope


CAUTION: This e-mail originated outside the University of Southampton.
It's from user field. 

I want the editor to review all record from particular user only. 

On Thu, Mar 4, 2021, 7:04 PM John Salter <J.Salter@leeds.ac.uk> wrote:
Hi Izwan,
Are the dept and campuses fields EPrint fields or user fields? The editor_limit_fields are all eprint fields.

What field type are they (e.g. text, set, namedset), and are they multiple or compound fields?

Cheers,
John

From: MOHD.IZWAN SALIM <mohdizwan8733@uitm.edu.my>
Sent: 04 March 2021 10:04
To: John Salter <J.Salter@leeds.ac.uk>
Cc: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] How to add User Review Scope
 
I already added those there.

$c->{editor_limit_fields} =
[
"divisions",
"subjects",
"type",
"dept",
"campuses",
"userid",
];

Only Division, Subjects, Item Type and Depositing User appears.

The Dept and Campuses was not.

Izwan
UiTM Digital Library


On Thu, Mar 4, 2021 at 5:38 PM John Salter <J.Salter@leeds.ac.uk> wrote:

Hi Izwan,
In the file: [EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/cfg.d/user_review_scope.pl

There should be configuration e.g.

$c->{editor_limit_fields} =

[

        "divisions",

        "subjects",

        "type",

];

 

You can add the additional eprint fields (e.g. dept) to that.

This will allow you to apply the restriction manually to each user.

From your description, it sounds like you might want to automatically link details from the user profile for the restriction.

 

I think you may be able to achieve this with additional logic in either:

[EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/cfg.d/user_fields_default.pl

[EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/cfg.d/user_fields_automatic.pl

 

The will depend on how your users are managed. If you need more info with this part, let me know!

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of MOHD.IZWAN SALIM via Eprints-tech
Sent: 04 March 2021 09:17
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] How to add User Review Scope

 

CAUTION: This e-mail originated outside the University of Southampton.

Dear all...

 

I would like to add a field in Editorial Rights Restriction. As now we have division, subject and type.

 

I would like to add user location (new, i create new metadata field for users) or dept (already exist field for user)

 

So that editor A can only review items from location A or Dept A.

 

Regards


Izwan
UiTM Digital Library

 

PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...


DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public,  proprietary,  privileged,  confidential  and  exempt  from  disclosure under applicable law including the Official Secrets Act 1972. READ MORE...


PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...


DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public,  proprietary,  privileged,  confidential  and  exempt  from  disclosure under applicable law including the Official Secrets Act 1972. READ MORE...

PENAFIAN: E-mel ini dan apa-apa fail yang dihantar bersama-samanya ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum, bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA SELANJUTNYA...


DISCLAIMER : This e-mail and any files transmitted with it ("Message") is intended only for the use of the recipient(s) named above and may contain information that is non-public,  proprietary,  privileged,  confidential  and  exempt  from  disclosure under applicable law including the Official Secrets Act 1972. READ MORE...