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 2.1.0 (released 2024-11-08)

  • permissions: add system permission

  • tests: move to reusable workflows

  • i18n: pull and push translations

Version 2.0.0 (released 2024-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-2.1.0.tar.gz (59.4 kB view details)

Uploaded Source

Built Distribution

invenio_access-2.1.0-py2.py3-none-any.whl (102.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-access-2.1.0.tar.gz.

File metadata

  • Download URL: invenio-access-2.1.0.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for invenio-access-2.1.0.tar.gz
Algorithm Hash digest
SHA256 27f4037e0482802ec8691ccb131f1b1007c622cb39a160d9797c9bd512b418e5
MD5 e269061cf0207d3b81dd35a618a8b555
BLAKE2b-256 3dffadd4c66784db8f6c1ebb2a7c96aad1a12ba4ac3c87333c84c3fbd37202fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for invenio_access-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5304393066cc53ed62c8905bd605637c85c4000b0f9854c4b80d7a36cca63c77
MD5 87f8e4682b5250e255bd6a19b7ada61c
BLAKE2b-256 461f6ce165814ea6bb58fae2bbdfd09feb41f43454be182b483ffc460b47cc21

See more details on using hashes here.

Supported by

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