<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Izwan,</p>
<p>If you just want to limit this field to be editable in the
workflow to editors and admins you can put the field in an if
statement like the following into
EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/workflows/eprint/default.xml:</p>
<p><font size="2" face="Courier New, Courier, monospace"><epc:if
test="$STAFF_ONLY = 'TRUE'" ><br>
<field ref="item_status" /><br>
</epc:if></font><br>
</p>
<p>If you need some more complex restriction you may need to do
something like:</p>
<p><font size="2" face="Courier New, Courier, monospace"><epc:if
test="$current_user{usertype} = 'admin' or
$current_user{usertype} = 'local_admin' or
$current_user{usertype} = 'editor'"><br>
</font></p>
<p><font size="2" face="Courier New, Courier, monospace"><epc:if
test="$current_user{username} = 'joe.bloggs'"></font></p>
<p>Where the part in {} is the name of the field within the user
record you want to match. I am not sure if you can do partial
matches of a string without taking a closer look of the available
comparator operators you have available in EPC.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 03/02/2022 11:54, MOHD.IZWAN SALIM
via Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|3217c36872953e85354e9ac3b7ff38a7y12C2U14eprints-tech-bounces|ecs.soton.ac.uk|CAANJ=pi9dM_a8=3eu9gu815oGyTbcT68yRQ69bjJawi4UYm_gQ@mail.gmail.com">
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970;
background-color:#F7F9FA; color:#8D3970; font-size:14px;
line-height:22px; font-family: Calibri, Arial, Helvetica,
sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the
University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Dear all
<div><br>
</div>
<div>I create a specific metadata - Item Status : Processing |
Binding | Shelve</div>
<div><br>
</div>
<div>I would like o specific this metadata editing for only
certain users.</div>
<div><br>
</div>
<div>Can I achieve that with the Roles function?</div>
<div><br>
</div>
<div>Regards</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr"><b>Izwan</b><br>
Librarian</div>
<div><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fir.uitm.edu.my%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0827ed0d996e44da355b08d9e70e7790%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637794871578812170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=H2G%2Fo5zLdTqOFONwxqjZLCzCFCm%2FR%2Fl%2BwParNmLqhRk%3D&reserved=0" originalSrc="https://ir.uitm.edu.my/" shash="K1rAEgXeE38b3DFMbfTVXpUteEdPhGB6bPoyKxjHdjVLpv+anSaWviLjqT125N57s6K6Ilm2cqAZwxnClsqVhkQ2zrQxDMutfTpvyFkfGdMimUxUk38X6PpEfcJ49dXOW4wRkNy3MRmoAwu/RfbIzve+GPYl9ppBce9RLnsKdq4=" originalsrc="https://ir.uitm.edu.my/" shash="Juz0Y0Qer8B2I9UgfeHcgEBhgspW1fw6cuXuoHGpHI8Wdxm/A+fReRWp047B0A/5PMOt6T3zK27uAm9X1GlN6cJSVM0B2fDq0d+DdHNfLa8iHcsGbszNzmpkbHs6NIU+59r+mu7h9ruixYhYbn5vq8vGAFsDJmmP4lO0rzujO6Q=" moz-do-not-send="true">UiTM Institutional Repository</a></div>
</div>
</div>
</div>
</div>
<br>
<p><b><font size="3">PENAFIAN: </font></b><font size="2">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.
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0827ed0d996e44da355b08d9e70e7790%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637794871578812170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZbkfATIcTTHxEUdTOZRCbuCKiNarHgwRwQVWfyctk1o%3D&reserved=0" originalSrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="Dg4yE4yyPlNbXGGhgXcgueoDQ0OleVJhvfmJjQgQh9LA3hcDjs3S5i0Kt+fNIUROK+6Ls8YzQz25mnM5IKR1VOT2MQeQucprhClG+KdBBn5wiZynWNFa5uD9VSoV2VH0C8ELuQQQK8/Fpq7AWYC75Ppa+aUqOnwn5X8AGSyU540=" originalsrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="DqxtJvOSDDpA/OGc4lDDiuVfivmnw0N5I3a9YI76bXxlTTySOHfaMIi1J4MP8XnOSJ+3GUSyhbS3MfuWj4C92FVSwecDTAgePhRULv3PPg7pj0GabDNg0Ob2TK6ADRKkCph/G7yVni59QgwC3sVK3aKRI0qRjIWj7CcQE5z+O64=" target="_blank" moz-do-not-send="true">
<font style="background-color:red" color="#ffffff">BACA
SELANJUTNYA...</font></a></font></p>
<hr>
<font style="font-style:italic" size="3"><b>DISCLAIMER :</b></font><font size="2"><i> 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.
</i><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0827ed0d996e44da355b08d9e70e7790%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637794871578812170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ZbkfATIcTTHxEUdTOZRCbuCKiNarHgwRwQVWfyctk1o%3D&reserved=0" originalSrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="Dg4yE4yyPlNbXGGhgXcgueoDQ0OleVJhvfmJjQgQh9LA3hcDjs3S5i0Kt+fNIUROK+6Ls8YzQz25mnM5IKR1VOT2MQeQucprhClG+KdBBn5wiZynWNFa5uD9VSoV2VH0C8ELuQQQK8/Fpq7AWYC75Ppa+aUqOnwn5X8AGSyU540=" originalsrc="https://mail.uitm.edu.my/index.php/component/content/article?id=2&Itemid=103" shash="DqxtJvOSDDpA/OGc4lDDiuVfivmnw0N5I3a9YI76bXxlTTySOHfaMIi1J4MP8XnOSJ+3GUSyhbS3MfuWj4C92FVSwecDTAgePhRULv3PPg7pj0GabDNg0Ob2TK6ADRKkCph/G7yVni59QgwC3sVK3aKRI0qRjIWj7CcQE5z+O64=" target="_blank" moz-do-not-send="true"><font style="background-color:red" color="#ffffff">READ MORE...</font></a></font></div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0827ed0d996e44da355b08d9e70e7790%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637794871578812170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2F%2FMiNQ2tXT%2BhcuJgkAAUNoghuSuadoekqYaw5D%2Bjrtc%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="iwrzBjp+tDFz/XznXsAK09qoyesvvf07f6SVxfJrNSeOUoenNUxJ+nkwUd3GSoLuPAWzH6p97ksbe5bvh880Nmv8FrFalnxRK4aF9Xaba2E+f9vVBk4K4BdbJcd1WnUq5W0cSqKnfhFNx6KXfuuWYbLR0JQW1Oz5dm0f7+MavrA=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0827ed0d996e44da355b08d9e70e7790%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637794871578812170%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=dSGr2ij9cUyyIl0qiXZ7KBiNnb0XLuRv7et7l9X4Dgw%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="jzH2aieGY0mB+kRM0w76aafQT/C4hodafJdUPprIG7Sr+Fjb28uTeoA/eCBLJtfwx8Vc8SIeL2110zLBnJBc1t3atx1Y01W2czvcXJDDXLHu/EDS3O96DUl8P3Ep6PdfUEFacMK3at9kfL1q3kE0ZNGSs4+lYMHWOcdMUqWADQA=">http://wiki.eprints.org/</a></pre>
</blockquote>
</body>
</html>