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

[EP-tech] how to disable actions in eprints



Someone wrote this on  the wiki a while ago that might be of use?  (It may well have been David Newman?)

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FCreating_a_Maintenance_Page&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19ae26941bf24ae4e9be08d65b87363d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=w%2BSRLe50LBq8ThDxqoJ0g5NcQFLtTr95jf1dkRmOEOw%3D&reserved=0

Alan

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Jonathan NORRIS via Eprints-tech
Sent: 06 December 2018 14:13
To: Newman D.R. <drn at ecs.soton.ac.uk>; eprints-tech at ecs.soton.ac.uk
Subject: Re: [EP-tech] how to disable actions in eprints

Hey,

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&amp;data=01%7C01%7Cdrn%40ecs.
>> soton.ac.uk%7C1bad55970a634dc30fac08d65b824079%7C4a5378f929f44d3ebe89
>> 669d03ada9d8%7C1&amp;sdata=vQc9Tjx3lHOhqA2Y8JfWa93l4W%2FLkGPapw2rvVDH
>> rE0%3D&amp;reserved=0
>> *** EPrints community wiki:
>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fem
>> ea01.safelinks.protection.outlo&amp;data=01%7C01%7Ceprints-tech%40ecs
>> .soton.ac.uk%7C4c899ea696cf40248d5b08d65b84eedb%7C4a5378f929f44d3ebe8
>> 9669d03ada9d8%7C1&amp;sdata=kz5xqnUwZ6IXy1mmwMO9eDP4fgO4VNkMKaW3%2Fr1
>> fGVA%3D&amp;reserved=0
>> ok.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Cdrn%4
>> 0ecs.soton.ac.uk%7C1bad55970a634dc30fac08d65b824079%7C4a5378f929f44d3
>> ebe89669d03ada9d8%7C1&amp;sdata=bEL6BwAdx%2FrR8uREZ7kBTR%2Br8lN1MtUZ%
>> 2BpyvvBVJ4Dc%3D&amp;reserved=0
>> *** EPrints developers Forum:
>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fem
>> ea01.safelinks.protection.out&amp;data=01%7C01%7Ceprints-tech%40ecs.s
>> oton.ac.uk%7C4c899ea696cf40248d5b08d65b84eedb%7C4a5378f929f44d3ebe896
>> 69d03ada9d8%7C1&amp;sdata=Cgc0FCE%2BjGjGhSpBfqcJUrOmti0YF5ow5XI7ASn%2
>> FhD8%3D&amp;reserved=0
>> look.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Cdr
>> n%40ecs.soton.ac.uk%7C1bad55970a634dc30fac08d65b824079%7C4a5378f929f4
>> 4d3ebe89669d03ada9d8%7C1&amp;sdata=tWb54v0pb0ku88avou5L3dNK2Hlcyr0leo
>> MKgXfEBD8%3D&amp;reserved=0


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19ae26941bf24ae4e9be08d65b87363d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=7C2KeqU7NMGadnf%2Bdp6FFMKQadzAl0WKVwskitvCMiM%3D&amp;reserved=0
*** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19ae26941bf24ae4e9be08d65b87363d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=v2HsYC%2FpaQ73%2FSjPltkfFaHJNABd%2Fo5Ye50EeJ5a%2BEc%3D&amp;reserved=0
*** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C19ae26941bf24ae4e9be08d65b87363d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=SK4x3%2Bf8pv82%2BCiz6DjLThUh87YLkkRTitxsCX9LunA%3D&amp;reserved=0
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its secondary activity of credit broking.