<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Brian,</p>
<p>In the past I've been advised to alter the user_login method to return 0 (so no one can log in), and then to remove the login tickets (so current sessions aren't valid).</p>
<p><br>
</p>
<p>This approach obviously depends on what login methods you've got configured for your repository.</p>
<p><br>
</p>
<p>Also worth noting that&nbsp;the access table will continue to grow even if people can't do stuff...</p>
<p><br>
</p>
<p>Cheers,</p>
<p>John</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of Brian D. Gregg &lt;bdgregg@pitt.edu&gt;<br>
<b>Sent:</b> 03 September 2015 17:27<br>
<b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br>
<b>Subject:</b> [EP-tech] Temporarily Disabling Deposits/Edits during migration/upgrade.</font>
<div>&nbsp;</div>
</div>
<div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
All,</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Sorry if this may be repeat question to the list but I&#8217;m not finding what I believe I&#8217;m looking for in the archives.</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
We will be migrating our EPrints system from one system to another and performing and upgrade in the process.&nbsp; We&#8217;d like to keep the initial system up while we do so.&nbsp; However, we want to disable any additional deposits/changes to the system while the migration
 is happening but want to keep the system up for viewing, searching, etc. &nbsp;&nbsp;Due to the amount of content and the upgrade we&#8217;ll also be doing this will take at a minimum of 4 hours.&nbsp; My initial thought is to comment out the permissions in the user_roles.pl file
 that apply and restart the web server to &#8220;lockout&#8221; any user updates.&nbsp; If this approach is used what is minimum permissions needed to allow basic use/functionality by the user?&nbsp; Is it just &#8220;general&#8221;?</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Is this the correct approach or is there something simpler that we can do to achieve the same functionality?
</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Or would it be highly recommended to block the whole site while the migration is happening?</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Thoughts, experiences?</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Thanks,</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Brian.</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b><span style="font-size:18.0pt; color:#323E4F">Brian D. Gregg</span></b></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<i><span style="font-size:14.0pt; color:#323E4F">Solutions Architect </span></i><span style="font-size:14.0pt; color:#323E4F">|<i> Manager Systems Development</i></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="color:#323E4F">University of Pittsburgh | University Library System</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="color:#323E4F">Address: <a href="https://maps.google.com/maps?q=7500&#43;Thomas&#43;Blvd,&#43;Pittsburgh,&#43;PA&amp;hl=en&amp;sll=41.117935,-77.604698&amp;sspn=7.662465,13.73291&amp;oq=7500&#43;Tho&amp;t=h&amp;hnear=7500&#43;Thomas&#43;Blvd,&#43;Pittsburgh,&#43;Pennsylvania&#43;15208&amp;z=17" target="_blank" style="color: rgb(5, 99, 193); text-decoration: underline;">
7500 Thomas Blvd.&nbsp; Room 129 Pittsburgh, PA 15208</a></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="color:#17365D">Tel: (412) 648-3264 | Email: <a href="mailto:bdgregg@pitt.edu" style="color: rgb(5, 99, 193); text-decoration: underline;">
bdgregg@pitt.edu</a> | Fax: (412) 648-3585</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
&nbsp;</p>
</div>
</div>
</div>
</div>
</body>
</html>