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

[EP-tech] Return WITHOUT notification

Hi James,

I forgot to mention that you will need to specify that the 
Screen::EPrint::Removeplugin will need to be set to appear in the 
eprint_actions_bar_buffer.? E.g.:

= 1000;

I have compared the 3.4.3 and 3.3.12 codebases and I cannot see anything 
that would lead to the Removebutton being present on 3.3.12 and not on 
3.4.3.? As far as I can tell, by default the Remove button should have 
never been present in the EPrints action bar when an item is under 
review, only the Remove (with notification)button.

The Remove button should only ever be able to appear under the eprint's 
actions tab, the actions next to an eprint on the Manage Deposits page 
and the eprint's action bar once it is in the live archive.? However, if 
EPrints is working correctly it should only be able to appear in any of 
these locations if the user meets the appropriate permission criteria.? 
Without the +eprint/buffer/remove:editorpermission added to the 
editor/admin user type (as described in my earlier email), even with the 
above screen plugin configuration, the Removebutton will still not appear.

What is baffling for 3.3.12, is that both the 
Screen::EPrint::Removeplugin does not specify that the Removebutton 
should appear under the eprint's action bar when is under review.? Even 
if it did there is no user type that has a permission to allow for the 
Removebutton to appear in that location.? Therefore, EPrints 3.4.3 
correctly implements where the Removebutton should appear.? It also has 
the further new requirement to add anotherpermission to allow items that 
are or have been in the live archive to be (completely) removed.


David Newman

On 29/06/2022 10:43 am, David R Newman wrote:
> Hi James,
> I think the "remove without notification" got removed by default 
> partly to ensure better traceability, so editors/admins did not delete 
> items without notifying the user but also as this caused button 
> clutter in the actions bar and also indecision with editors/admins on 
> which option they should use.? You can re-enable this by adding the 
> following two lines to your archive's cfg/cfg.d/user_roles.pl for 
> both/either the of the editor/admin roles:
> ??? +eprint/inbox/remove:editor
> ??? +eprint/buffer/remove:editor
> You may need to copy user_roles.pl from flavours/pub_lib/cfg.d/ to 
> your archive, so you can edit an archive specific copy.? Once done, 
> obviously reload your webserver to apply the changes.
> I will endeavour to add this to the known issues at:
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_3.4.3%23Known_Issues&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C52fdf75213884c07885208da5d4b97f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637924876526967408%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Jm9e%2BzK7L05%2F3Xp8RFCKpk%2FhgItnUpc6DpQZ5lRo48s%3D&reserved=0
> I should also not that a further feature was added in 3.4.3 to prevent 
> deletion of items that are in or have at some point been in the live 
> archive.? You will need to add the following user role (probably to 
> just specific admin users you trust through their user profile):
> +eprint/remove_once_archived
> Regards
> David Newman
> On 29/06/2022 9:46 am, James Kerwin via Eprints-tech wrote:
>> *CAUTION:* This e-mail originated outside the University of Southampton.
>> Hi All,
>> Hope everyone is well.
>> I recently upgraded our Data Repository server and version of 
>> EPrints. We have two issues outstanding. One is with Apache 
>> mod_status and the other is with emails being sent when returning an 
>> item to the work area.
>> Is there any way to return an item without a notification? I've been 
>> away at Glastonbury and had tried quite a bit to sort this before 
>> leaving, but was struggling to find where to make changes. This 
>> repository is on Ubuntu 20 with EPrints version 3.4.3
>> Any guidance will be gratefully received!
>> Thanks,
>> James
>> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C52fdf75213884c07885208da5d4b97f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637924876526967408%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T5MFm3qQUtbX1wkZ5o%2BN5bQPfm4enw9au7EEd8sRO20%3D&reserved=0
>> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C52fdf75213884c07885208da5d4b97f3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637924876526967408%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NS0O2lhzAR39F0TP0JwPakIow%2BsVslxlRnSfBUl1oZ4%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220704/f38328ac/attachment.html