Adding creator roles to an EPrints repository using the CRediT taxonomy.
The eprintug
plugin creators_roles has been forked by EPServices to translate into an ingredient format and structure.
EPrints Version | creators_roles Release Version | Tested | Released | Date |
---|---|---|---|---|
3.5 | v1.0.0-35 | ❌ | ❌ | Future |
3.4.5 | v1.0.0-34 | ❌ | ❌ | Future |
3.4.5 | Initial Fork v0.0.1-alpha | ✅ | N/A | 27/01/24 |
- #1 Local admins should be able to view this as standard
- #3 Role subfield is removed if the user doesn't have the permissions associated with the field credit_role:edit
- #5 Improve styling in workflow
- #6 Can you and should you be able to search over this sub field?
- #7 Test accessibility before 1.0.0 release
- #11 Clean up code base
- #8 Update to work with future eprints versions (backwards compatible)
- #9 Update to use new JSON field (relies on new feature in 3.5 #52 JSON as a standard MetaField)
- #10 Update README Instructions for 3.5 before 1.1.0 release
These instructions are valid for EPrints v3.4.5
-
Install the ingredient in the
/opt/eprints3/ingredients
directory.cd /opt/eprints3/ingredients/ git clone https://github.com/eprints/creators_roles.git
-
Enable to ingredient in the relevant flavour
inc
fileexample shown for publications flavour
pub_lib
.Edit this file
/opt/eprints3/flavours/pub_lib/inc
Add this line
ingredients/creators_roles
-
Add this to the compound field for creators:
{ sub_name => 'credit_roles', type => 'CreditRole', input_cols => 1, allow_null => 1, input_cols => 25 }
-
Regenerate your static files to include the javascript needed for the custom control:
$ bin/generate_static [your repository name]
-
Enable editing of the credit role by adding
credit_role:edit
to the appropriate role in user_roles.pl or adding as a user permission.
Micheal Eadie, University of Glasgow
Liam Green-Hughes, University of Kent
Edward Oakley, EPrints Services