Skip to main content

RBAC for Python 3

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.6.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-fortress-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 42ae794c541e2b13cda4d4b6019097764da107677b9bed40f8a63ef4cb4d816d
MD5 fde3cb0ef829e8c0cd244cd3f67d151d
BLAKE2b-256 9871da32e57149961ada4e11c7c198f6bb062ffff447f4e258b531e6a2abf127

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_fortress-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2197cf4a5868dcefe517ff4077a2653db5c691aed1f59711c4682a97724e0381
MD5 4c6e6d927d7b308d6e5ac2a82e93d1b3
BLAKE2b-256 de270c366d8a17fc52d8b07115b7e67c492c7098f6cbe5f2edbc2be938e36dbf

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