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
4. README-INSTALL Install with PyPI Package
5. README-API API Usage Guide
6. README-CLI CLI for RBAC Admin and Review
7. README-CLI-AUTH CLI for RBAC System Testing

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_mgr create session, check access, add, drop active roles
2. admin_mgr add, update, delete, assign, deassign entities
3. review_mgr 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


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

Files for py-fortress, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size py_fortress-0.0.7-py3-none-any.whl (69.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size py-fortress-0.0.7.tar.gz (50.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page