EPrints Technical Mailing List Archive

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

Message: #08544


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

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