Skip to main content

RBAC for Python

Project description

py-fortress README

Fortress Role-Based Access Control py-fortress

Document Contents

  • Links to Install and Setup Docs
  • About py-fortress and Role-Based Access Control

Links to Install and Setup Docs

Located under the doc folder and include:

Link Description
1. README-BUILDING To build the package from source
2. README-QUICKSTART Beginners start here
3. README-LDAP-DOCKER Run LDAP in Docker
4. README-INSTALL Install with PyPI Package
5. README-TESTING Run the tests from source
6. README-API API Usage Guide
7. README-CLI CLI for RBAC Admin and Review
8. README-CLI-AUTH CLI for RBAC System Testing
9. README-UPGRADE-PYTHON python-ldap dependencies

About py-fortress and Role-Based Access Control

About py-fortress

  • Security access control APIs for the Python3 platform.
  • Requires an LDAP server to store the policy data. Support for a File backend in the works.
  • Published to PyPI as py-fortress.
  • Compliant with ANSI INCITS 359 RBAC0, a.k.a "Core RBAC".
  • Sponsored by SYMAS
  • Released under Apache License 2.0.

Links to the API Modules

The following modules have inline code docs describing the API signatures, required attributes and usages.

Link Description
1. access create session, check access, add, drop active roles
2. admin add, update, delete, assign, deassign entities
3. review read and search entities and their relationships

Related Project

We're related to the Apache Fortress Java implementation and share:

The Apache Fortress Core has capabilities that py-fortress doesn't, like Hierarchical Roles (RBAC1), Static Separation of Duties (RBAC2) and Dynamic Separation of Duties (RBAC3).

About Role-Based Access Control

RBAC Core

  • Many-to-many relationship between Users, Roles and Permissions. Selective Role activation into Sessions. API to add, update, delete and search entity data; perform access control decisions during runtime.
  • Link to ANSI INCITS 359 Specification

More RBAC info

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

py-fortress-0.1.5.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

py_fortress-0.1.5-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

Details for the file py-fortress-0.1.5.tar.gz.

File metadata

  • Download URL: py-fortress-0.1.5.tar.gz
  • Upload date:
  • Size: 52.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for py-fortress-0.1.5.tar.gz
Algorithm Hash digest
SHA256 aef29bf2165904a9e90e9b63c0ee1f0cc74376cb50f0f6fbbcdd0363ec74c016
MD5 50c64c20b1898adb8eb708fc24e40d01
BLAKE2b-256 adfe929f9693e7d48c180086330356bd37f188a1986f04b5ed13a2b83cd0cb9d

See more details on using hashes here.

File details

Details for the file py_fortress-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: py_fortress-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 70.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for py_fortress-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 106dc8c0fca13d7f669771ae45b3694a18b18de331e962df921f8e935616812f
MD5 e56b9e0d1c0de46e452036eb22230d56
BLAKE2b-256 f890a611e1b0a3474ac78420311d5c926f6e572a246fefb0733e55baf673435a

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