[EP-tech] how to disable actions in eprints

Jonathan NORRIS jnorris at ist.ac.at
Thu Dec 6 14:13:01 GMT 2018


Thank you for the information. My original idea was to disable the 
(conventional) login somehow but was not sure how to handle existing 
login sessions. Here's what I think I will do:

apache redirect the login route two a page giving information as to why 
this is disabled
truncate the loginticket table
switch off the indexer and cronjobs

Thanks again for your help,
Jonathan Norris
IST Austria

On 12/6/18 15:07, Newman D.R. wrote:
> Hi Jonathan,
> There are several things I would do:
> 1. Disable the indexer from the admin menu.
> 1. Modify the phrase cgi/login:page_layout (by default in
> /opt/eprints3/lib/lan/en/phrases/system.xml, you can override at an
> archive level) to remove the login form.
> 2. Truncate (i.e. delete all records from) the loginticket table to
> remove any current logged in sessions.
> 4. Edit the EPrints user's crontab to make sure you disable any scripts
> that could modify publications data/metadata.
> This advice assumes you are using conventional login (not
> Shibboleth/ADFS or similar).  Also the access table in the database
> will still get records added to it.  However, it sounds like this would
> not be an issue, as it would not effect the data/metadata of the
> publication records.
> Regards
> David Newman
> On Thu, 2018-12-06 at 14:47 +0100, Jonathan NORRIS via Eprints-tech
> wrote:
>> Hello,
>> I need to disable user actions within eprints for a period of time
>> but
>> still allow access to it because of existing citations and DOIs that
>> link back to it. We need to stop any sort of interaction that would
>> change the data inside, including adding new records, updating
>> existing
>> and deleting records.
>> Would anyone have any advice on how I may achieve this?
>> Thanks,
>> Jonathan Norris
>> IST Austria
>> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-
>> tech
>> *** Archive: https://emea01.safelinks.protection.outlook.com/?url=htt
>> p%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Cdrn%40ecs.
>> soton.ac.uk%7C1bad55970a634dc30fac08d65b824079%7C4a5378f929f44d3ebe89
>> 669d03ada9d8%7C1&sdata=vQc9Tjx3lHOhqA2Y8JfWa93l4W%2FLkGPapw2rvVDH
>> rE0%3D&reserved=0
>> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Femea01.safelinks.protection.outlo&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4c899ea696cf40248d5b08d65b84eedb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=kz5xqnUwZ6IXy1mmwMO9eDP4fgO4VNkMKaW3%2Fr1fGVA%3D&reserved=0
>> ok.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Cdrn%4
>> 0ecs.soton.ac.uk%7C1bad55970a634dc30fac08d65b824079%7C4a5378f929f44d3
>> ebe89669d03ada9d8%7C1&sdata=bEL6BwAdx%2FrR8uREZ7kBTR%2Br8lN1MtUZ%
>> 2BpyvvBVJ4Dc%3D&reserved=0
>> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Femea01.safelinks.protection.out&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4c899ea696cf40248d5b08d65b84eedb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=Cgc0FCE%2BjGjGhSpBfqcJUrOmti0YF5ow5XI7ASn%2FhD8%3D&reserved=0
>> look.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Cdr
>> n%40ecs.soton.ac.uk%7C1bad55970a634dc30fac08d65b824079%7C4a5378f929f4
>> 4d3ebe89669d03ada9d8%7C1&sdata=tWb54v0pb0ku88avou5L3dNK2Hlcyr0leo
>> MKgXfEBD8%3D&reserved=0

More information about the Eprints-tech mailing list