Skip to main content

Invenio module containing some customizations and configuration for TU Wien.

Project description

Invenio module for tweaking InvenioRDM to the needs of TU Wien.

We use this module to customize the following:

  • Permission policies

  • OIDC authentication handling

  • E-Mail notification on errors

  • Configuration values

Details

Permission policies

Currently, we are still operating on a friendly-user basis. That is, while we cannot lose any data that has been uploaded by our users, we do not allow every registered user to create record drafts, upload data, or publish records from the get-go. Instead, we require users to have the trusted-user role in order to be able to create record drafts and upload data. Similarly, we have the trusted-publisher role as a requirement for publishing records. Generally, these roles have to be assigned to users manually by an administrator.

On the test system, we give out these permissions automatically if we detect that a newly registered user is an employee of TU Wien.

OIDC authentication handling

Because we have some special requirements regarding the authentication and signup process, we have customized some of the handler functions for the OAuth client that’s integrated in InvenioRDM. These customizations are contained in the files in auth/.

E-Mail notification on errors

This module defines a custom log handler for error-level logs which sends out notifications as e-mail to a set of configured recipient addresses.

Configuration values

Last but not least, we also set some default configuration values for deployments of InvenioRDM at TU Wien. The relevant files here are config.py and ext.py.

Changes

Version 2022.2 (released 2022-07-19, updated 2022-08-25)

  • v9 compat: Chase changes in Invenio-{Accounts,OAuthClient} 2.x

  • v9 compat: Update permission policies

  • v9 compat: Hack in permission policy for communities

  • Refactor permissions and config

  • Remove leftover views.py

  • Set deposit form file size limits

  • Fix permissions

  • Reverse contents of CHANGES.rst (recent changes are shown on top)

  • Attach SMTP error handler to the application in production mode

  • Add custom logging formatter

  • Auto-confirm newly registered users’ e-mail addresses if SECURITY_CONFIRMABLE is False

  • Set default user preferences (visibility=public, email_visibility=restricted)

Version 2022.1 (released 2022-03-23, updated 2022-04-06)

  • Update permissions for creating and editing drafts

  • Use the OAI metadata implementation from Invenio-RDM-Records

  • Change the default file size and bucket quota limits to 75GB

Version 2021.2 (released 2021-12-07, updated 2021-12-20)

  • Make ready for InvenioRDM v7

  • Add requests permission policy

  • Enforce a rate limit for HTTP requests

  • Change method of overriding the record permission policy

  • Add datacite and oai_datacite metadataPrefixes to the OAI endpoint

Version 2021.1 (released 2021-07-15)

  • Initial public release.

  • Update the list of citation styles

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-config-tuw-2022.2.3.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_config_tuw-2022.2.3-py2.py3-none-any.whl (23.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio-config-tuw-2022.2.3.tar.gz.

File metadata

  • Download URL: invenio-config-tuw-2022.2.3.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for invenio-config-tuw-2022.2.3.tar.gz
Algorithm Hash digest
SHA256 25d38e043706e3a39220da450895fc22affcca7828756f14983bea174fe65a96
MD5 d249d2e1a24a7099efaa36e048a3d497
BLAKE2b-256 74da25fadea0e398fde205ada2702fa03c66540ceb4519ae395c9123de7de427

See more details on using hashes here.

File details

Details for the file invenio_config_tuw-2022.2.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_config_tuw-2022.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 adbee51e4dc0638ff44c18bbc70e29fa4899f3b6d67c7018f27dbe08a2e17e32
MD5 8f250c76123eac4820ac918d141eb1bb
BLAKE2b-256 36fabe499980e4ee510516857511788299037d666e72a1383609d8ef030fbf97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page