Skip to content

Commit 81d31b4

Browse files
committed
identifiers: added related identifiers config var
1 parent 4ce00b9 commit 81d31b4

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

docs/releases/vNext/upgrade-vNext.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ InvenioRDM v13.
1717
Always backup your database, statistics indices and files before you try to perform an upgrade.
1818

1919
!!! info "Older Versions"
20-
If your InvenioRDM installation is older than v13, you must first upgrade
21-
to v13 before proceeding with the steps in this guide.
20+
If your InvenioRDM installation is older than v13, you must first upgrade
21+
to v13 before proceeding with the steps in this guide.
2222

2323
## Upgrade Steps
2424

@@ -38,16 +38,18 @@ invenio-cli, version 1.9.0
3838
### Upgrade InvenioRDM
3939

4040
#### Requirements
41+
4142
Python 3.9 or 3.11 or 3.12 is required to run InvenioRDM v13.
4243

4344
!!! info "Python 3.9 end-of-life"
44-
Official support for Python 3.9 will end on October 31, 2025.
45-
See the [official Python version status page](https://devguide.python.org/versions/) for more information.
46-
Future releases of InvenioRDM will require a more recent Python version.
45+
Official support for Python 3.9 will end on October 31, 2025.
46+
See the [official Python version status page](https://devguide.python.org/versions/) for more information.
47+
Future releases of InvenioRDM will require a more recent Python version.
4748

4849
The minimum required OpenSearch version is now **v2.12**. See [below](#opensearch-version) on how to upgrade older versions.
4950

5051
#### Upgrade option 1: In-place
52+
5153
This approach upgrades the dependencies in place. At the end of the process,
5254
your virtual environment for the v13 version will be completely replaced
5355
with the vNext environment and dependencies.
@@ -121,7 +123,7 @@ source <path to virtualenvs>/bin/activate
121123
This step ensures that all subsequent commands use the correct Python environment and installed dependencies.
122124

123125
!!! note
124-
If you are upgrading in an environment that does not use a Python virtualenv, you can skip this step.
126+
If you are upgrading in an environment that does not use a Python virtualenv, you can skip this step.
125127

126128
### Database migration
127129

@@ -155,13 +157,11 @@ From v12 onwards, search indices for statistics (record's views and downloads) a
155157
affected by `invenio index destroy --yes-i-know` and are totally functional after the rebuild step.
156158

157159
!!! info "Permission issue"
158-
If you encounter an error similar to this when indexing:
159-
```
160-
opensearchpy.exceptions.AuthorizationException: AuthorizationException(403, 'security_exception', 'no permissions for [cluster:admin/component_template/put] and User [name=<my-name>, backend_roles=[], requestedTenant=null]')
161-
opensearchpy.exceptions.AuthorizationException: AuthorizationException(403, 'security_exception', 'no permissions for [indices:admin/index_template/put] and User [name=<my-name>, backend_roles=[], requestedTenant=null]')
162-
```
163-
This means your OpenSearch user does not have sufficient permissions to create or update index templates.
164-
To resolve this, grant the necessary permissions to your user in the OpenSearch cluster:
160+
If you encounter an error similar to this when indexing:
161+
`opensearchpy.exceptions.AuthorizationException: AuthorizationException(403, 'security_exception', 'no permissions for [cluster:admin/component_template/put] and User [name=<my-name>, backend_roles=[], requestedTenant=null]')
162+
opensearchpy.exceptions.AuthorizationException: AuthorizationException(403, 'security_exception', 'no permissions for [indices:admin/index_template/put] and User [name=<my-name>, backend_roles=[], requestedTenant=null]')`
163+
This means your OpenSearch user does not have sufficient permissions to create or update index templates.
164+
To resolve this, grant the necessary permissions to your user in the OpenSearch cluster:
165165

166166
1. Go to **OpenSearch Dashboards** -> **Security** -> **Roles** -> *<your role name>*.
167167
2. Edit the role and add the following cluster and index permissions:
@@ -192,3 +192,6 @@ Many [custom field widgets](../../operate/customize/metadata/custom_fields/widge
192192

193193
These are the new configuration variables introduced in this release. Make sure that you read the related documentation before enabling them. Add them to your `invenio.cfg` as needed:
194194

195+
##### Related Identifiers
196+
197+
Backend and frontend functionality has been extended to cover related identifiers. The new `RDM_RECORDS_RELATED_IDENTIFIERS_SCHEMES` setting defines which schemes can be used (defaulting to `RDM_RECORDS_IDENTIFIERS_SCHEMES`). Validation rules, vocabularies in the UI, and scheme label resolution have been updated to ensure identifiers and related identifiers are handled consistently.

docs/releases/vNext/version-vNext.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
_2020-0-0_
44

5-
This is a work-in-progress document to enable InvenioRDM developers to track
5+
This is a work-in-progress document to enable InvenioRDM developers to track
66
new features that will be included in the next release.
77

88
We're happy to announce the release of InvenioRDM vNext, the open-source
@@ -20,9 +20,11 @@ and digital assets management! Version Next will be maintained until at least 6
2020
### New feature
2121

2222
### Miscellaneous additions
23+
2324
Here is a quick summary of the myriad of other improvements in this release:
2425

2526
- Admin panel Jobs: Added a "Delete" action to the Jobs list so admins can remove jobs directly from the UI.
27+
- A new configuration variable, `RDM_RECORDS_RELATED_IDENTIFIERS_SCHEMES`, enables configuring identifier schemes specifically for related identifiers, defaulting to `RDM_RECORDS_IDENTIFIERS_SCHEMES` when not defined.
2628

2729
## Deprecations
2830

@@ -52,4 +54,3 @@ If you have questions related to these release notes, don't hesitate to jump on
5254
## Credit
5355

5456
The development work of this impressive release wouldn't have been possible without the help of these great people (name or GitHub handle, alphabetically sorted):
55-

0 commit comments

Comments
 (0)