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 2024.2 (released 2024-06-24, updated 2024-09-12)

  • v12 compat: Chase Invenio-OAuthClient refactoring

  • v12 compat: Chase permission policy changes

  • v12 compat: Chase record ownership changes

  • v12 compat: Remove breadcrumbs

  • Use configuration items instead of hacks for the community permission policy

  • Flatten the user preference curation.consent to curation_consent

  • Override search mappings

  • Remove support for creating community-submission requests for drafts

  • Allow {user,guest} access requests for new drafts by default

  • Add install extras for search

  • Add Flask-Minify as opt-in for minifying HTML responses (without the golang minifiers)

  • Show all accessible drafts in the user’s dashboard

  • Give out permissions to access the draft’s files with the preview permission

Version 2024.1 (released 2024-05-22, updated 2024-05-22)

  • Store given_name and family_name in user profiles

  • Use these values to more accurately synthesize default values for creators in metadata

  • Store the TISS ID in the user profile for people with TU Wien affiliation

Version 2023.2 (released 2023-04-24, updated 2023-12-22)

  • v11 compat: Update permission policies and disable archive download

  • Set affiliation (hard-coded) to TU Wien in user.profile

  • Set a default template for the description metadata field

  • Add a null check for the current_user in the logging formatter

  • Prevent the logging formatter from blowing up outside of a request context

  • Add utilities and a celery task for updating the names vocabulary with information from TISS

  • Enable sending of registration mails

  • Allow edits to owners of published records even if they only have trusted-user role

  • Fix a typo in the config generated by the TUWSSOSettingsHelper

  • Fix function to fetch user by username

  • Add record curation preferences to user settings

Version 2023.1 (released 2023-01-13)

  • Update definition of the default creator for new uploads

Version 2022.3 (released 2022-10-28, updated 2022-11-30)

  • v10 compat: Discard imports of removed Admin/SuperUser generators

  • Rework the initialization procedure used for some custom overrides

  • Migrate from setup.py to setup.cfg

  • Move Flask config override from Invenio-Theme-TUW to Invenio-Config-TUW

  • Update “Terms of Use” link in registration form

Version 2022.2 (released 2022-07-19, updated 2022-10-22)

  • 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)

  • Set default value for version metadata to 1.0.0

  • Add config item to put the system into “read-only mode”

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-2024.2.7.tar.gz (43.6 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-2024.2.7-py2.py3-none-any.whl (38.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_config_tuw-2024.2.7.tar.gz.

File metadata

  • Download URL: invenio_config_tuw-2024.2.7.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for invenio_config_tuw-2024.2.7.tar.gz
Algorithm Hash digest
SHA256 9e90972126a16b16313fef48fe18776cca0b44272c7b1d65f6115282d902a7d2
MD5 b1c6d257b3ec1e8a3752c645a8810ff4
BLAKE2b-256 e7d80c879017593da555711efc4d45b8f2472f7b2b83fca6017c8f887ff12fa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for invenio_config_tuw-2024.2.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a5698ccea3425fd0d4083a9bb322c41f96b64391b54b66c39fe343889791860
MD5 ee4b75dd050138b4ccc2c75fe85467e8
BLAKE2b-256 6bd469a49ba89fbfaeceb112b12fcb8f99b5d33a6e1ea355dbd3e4ff2a73b1e0

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