Skip to main content

Invenio module for common role based access control.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-access.svg https://github.com/inveniosoftware/invenio-access/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-access.svg https://img.shields.io/pypi/v/invenio-access.svg

Role-based access control (RBAC) for Invenio.

Invenio-Access works together with Invenio-Accounts to provide a full-fledge authentication and authorization system for Flask and Invenio based on a suite of existing Flask extensions such as:

  • Flask-Security

  • Flask-Login

  • Flask-Principal

  • passlib

Features:

  • Role-based access control with object level permissions.

  • CLI and administration interface for allowing/denying actions to users, roles or system roles.

  • Support for superuser privileges.

Further documentation is available on https://invenio-access.readthedocs.io/

Changes

Version v6.0.0 (released 2026-05-28)

  • chore(setup): bump dependencies

  • fix: better dependencies after communities tests

Version v5.1.0 (released 2026-02-17)

  • feat: change role.name to role.id for identity.provides RoleNeed

Version v5.0.0 (released 2026-01-27)

  • chore(black): update formatting to >= 26.0

  • chore(setup): bump dependencies

Version v4.2.1 (released 2025-10-17)

  • i18n: pulled translations

Version v4.2.0 (released 2025-07-17)

  • i18n: pulled translations

Version 4.1.0 (released 2025-07-03)

  • fix(tests): m.entry_points returns a list if group

  • tmp(fix): for python3.9

  • fix: pkg_resources DeprecationWarning

  • refactor(cli): introduce readable commands

  • fix: setuptools require underscores instead of dashes

  • i18n: removed obsolete translations

Version 4.0.0 (released 2024-12-04)

  • setup: bump major dependencies

Version 3.0.2 (released 2024-12-04)

  • fix: add translation flag for publishing

Version 3.0.1 (released 2024-11-28)

  • setup: pin dependencies

Version 3.0.0 (released 2024-11-13)

  • i18n:push translations

  • i18n:pulled translations

  • setup: move invenio-admin to optional

  • model: make forward compatible to sqlalchemy >= 2

  • permissions: add system permisssion

  • test: make redis configurable

Version 2.0.0 (released 2022-06-14)

  • upgrade invenio-accounts dependency

  • models: change role_id FK of ActionRoles to string

Version 1.4.4 (released 2022-04-01)

  • fix compat issue with Werkzeug 2.1

Version 1.4.3 (released 2022-03-30)

  • add support for Flask 2.1, Werkzeug 2.1 and Click 8.1

  • bump dependency on invenio-base, invenio-accounts and invenio-i18n

Version 1.4.2 (released 2021-02-16)

  • adds a new system role “system_process”.

  • adds a new identity providing the system process role.

Version 1.4.1 (released 2020-05-07)

  • set Sphinx <3 because of errors related to application context

  • stop using example app

Version 1.4.0 (released 2020-03-12)

  • drop Python 2.7 support

  • change Flask dependency management to centralised by invenio-base

Version 1.3.2 (released TBD)

  • set Sphinx <3 because of errors related to application context

  • stop using example app

Version 1.3.1 (released 2020-01-22)

  • increase minimal six version

Version 1.3.0 (released 2019-11-15)

  • Adds explicit excludes of needs feature to load permission

Version 1.2.0 (released 2019-08-02)

  • Removes DynamicPermission

Version 1.1.0 (released 2018-12-14)

Version 1.0.2 (released 2018-10-31)

  • Additional test for AnyonymousIdentity loaded on request

Version 1.0.1 (released 2018-05-18)

  • Removal of Click warning messages.

Version 1.0.0 (released 2018-03-23)

  • Initial public release.

Project details


Download files

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

Source Distribution

invenio_access-6.0.0.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

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

invenio_access-6.0.0-py2.py3-none-any.whl (82.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_access-6.0.0.tar.gz.

File metadata

  • Download URL: invenio_access-6.0.0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for invenio_access-6.0.0.tar.gz
Algorithm Hash digest
SHA256 954464bbc5e834dd11b53de8f73ed6be57c688facadfeb1403091c947b8578f5
MD5 205d72b46ef13e726b9ec7660fd32c35
BLAKE2b-256 a58eaf9fd65deb47d35dce67daa84d59382581874b65662911ed30cebef49cf9

See more details on using hashes here.

File details

Details for the file invenio_access-6.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_access-6.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 83a790104a74775e4618220998c4879f218375d5f88e49effface3bb89f7a293
MD5 3a567c9ba7dbb44bc8978c39be3acb59
BLAKE2b-256 8143b07e0f30688aaa64620ed6488297fc90e0960b27ba8fa3e87ae900648fe7

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