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

[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 at leeds.ac.uk<mailto:J.Salter at 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 at uitm.edu.my<mailto:mohdizwan8733 at uitm.edu.my>>
Sent: 04 March 2021 10:04
To: John Salter <J.Salter at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>>
Cc: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk> <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at 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 at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>> wrote:

Hi Izwan,
In the file: [EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/cfg.d/user_review_scope.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fuser_review_scope.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Dy%2FLiWUsZYNQaESqZV4yq0YSu%2Bk9bYwHalDwzghZOJ4%3D&amp;reserved=0>

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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fuser_fields_default.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=I%2BnNHeOivi1VFmnT%2BCB3RfH2G%2FU%2Fo6v2VJI68wEVG%2Bk%3D&amp;reserved=0>

[EPRINTS_ROOT]/archives/[ARCHIVEID]/cfg/cfg.d/user_fields_automatic.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fuser_fields_automatic.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3AbnfWfMiwmIuS9CfhpHXYW%2BfgvJpytXLTBoE0ZfkNg%3D&amp;reserved=0>



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 at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>] On Behalf Of MOHD.IZWAN SALIM via Eprints-tech
Sent: 04 March 2021 09:17
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at 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...<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9H091%2FlPrQBaHztJe70Bs2akP9ZuWgXOAm9w%2B7bjvwE%3D&amp;reserved=0>

________________________________

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...<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9H091%2FlPrQBaHztJe70Bs2akP9ZuWgXOAm9w%2B7bjvwE%3D&amp;reserved=0>


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...<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9H091%2FlPrQBaHztJe70Bs2akP9ZuWgXOAm9w%2B7bjvwE%3D&amp;reserved=0>

________________________________
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...<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9H091%2FlPrQBaHztJe70Bs2akP9ZuWgXOAm9w%2B7bjvwE%3D&amp;reserved=0>


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...<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049527051%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9H091%2FlPrQBaHztJe70Bs2akP9ZuWgXOAm9w%2B7bjvwE%3D&amp;reserved=0>

________________________________
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...<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce4a78833ccaf41cbde5308d8df075f79%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637504570049537042%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=y4zLLiuGa%2FMLaKPDfYlfzdfxupfdpp6wcqgtVuLMjlo%3D&amp;reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210304/70af0e01/attachment-0001.html