EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10343
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Remove versions support from EPrints
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] Remove versions support from EPrints
- From: Yuri <yurj@alfa.it>
- Date: Wed, 25 Mar 2026 08:41:02 +0100
CAUTION: This e-mail originated outside the University of Southampton. Great, custom user role worked like a charm. A related question: if a user make a revision inside its workarea and then delete the first version record (he can), in the second version record the "succeeds" field hold a reference to the deleted item. Usually I set the "succeeds" field to NULL using a command line db client. Is there a way to manage the "succeeds" fields using the web interface? I'm thinking about the record interface which seems a low level interface to the eprint record. My idea is to disable versioning for items in working area, but can this be a problem for users that creates the entire chain of versions and then publish all of it together? Il 24/03/26 13:12, David R Newman ha scritto:
Hi Yuri, I have also experience the mis-use of the "New Version" button. Often the conflation with the "Use as template". I don't think how you disable this button has changed much if at all between 3.3.15 and the latest version of 3.4. You could just hide the button from the Actions tab by adding the following to a config file under the archive's cfg/cfg.d/ directory: $c->{plugins}->{"Screen::EPrint::NewVersion"}->{appears}->{eprint_actions} = undef; Alternatively, you could completely disable the screen plugin: $c->{plugins}->{"Screen::EPrint::NewVersion"}->{params}->{disable} = 1; I don't think there is any risk to completely disabling this screen plugin, so I would probably go for the latter. However, if you have a specific case where editors (and admin) can create new versions but regular users should not then you would not want to completely disable this screen plugin. In that case you probably want to remove a standard user from having the following permissions: eprint/inbox/derive_version:owner eprint/buffer/derive_version:owner eprint/archive/derive_version:owner eprint/deletion/derive_version:owner This can be done by adding the following to a configuration file (starting "z_" to ensure it is loaded after user_roles.pl) in your archives cfg/cfg.d/ file: push @{$c->{user_roles}->{user}}, qw{ -eprint/inbox/derive_version:owner -eprint/buffer/derive_version:owner -eprint/archive/derive_version:owner -eprint/deletion/derive_version:owner }; Regards David Newman On 24/03/2026 10:32, Yuri wrote:CAUTION: This e-mail originated outside the University of Southampton. CAUTION: This e-mail originated outside the University of Southampton. Hi! EPrints 3.3.15 here. For our users, versions are confusing and often are misused. Often it happens that the user make a mistake, submit to the buffer and then (lazy) do a version to avoid reinserting the metadata again. So we find there's a stale version linked to the good one and the buffer is also filled with 2 items... We would like to hide the version functionality, at least for the users. Then, as editor, we can link the real versions when we find there are (using db queries, there's no other way I know). Thanks! *** Options: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEprints-tech_Mailing_List&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C000c4c86461f4b8fb48408de8a41e0f2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C639100213155638646%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C40000%7C%7C%7C&sdata=CJkQEzm3GtZXMdCkx7%2FJ1akEkdpGoNvsn3jVF12k4ZI%3D&reserved=0 *** Archive: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C000c4c86461f4b8fb48408de8a41e0f2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C639100213155661968%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C40000%7C%7C%7C&sdata=yRenXpjCOfhm5O1U57Whnltcvjlp5NSGCulgM1%2FoCXg%3D&reserved=0 *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C000c4c86461f4b8fb48408de8a41e0f2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C639100213155680143%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C40000%7C%7C%7C&sdata=XZdFQTElwNmrCTuOuhHEstEKvpPYDUqdbFyUDuPLW%2FA%3D&reserved=0
- Follow-Ups:
- Re: [EP-tech] Remove versions support from EPrints
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Remove versions support from EPrints
- References:
- [EP-tech] Remove versions support from EPrints
- From: Yuri <yurj@alfa.it>
- Re: [EP-tech] Remove versions support from EPrints
- From: David R Newman <drn@ecs.soton.ac.uk>
- [EP-tech] Remove versions support from EPrints
- Prev by Date: Re: [EP-tech] Remove versions support from EPrints
- Next by Date: Re: [EP-tech] Remove versions support from EPrints
- Previous by thread: Re: [EP-tech] Remove versions support from EPrints
- Next by thread: Re: [EP-tech] Remove versions support from EPrints
- Index(es):
