Skip to main content

Set of classes that are reusable across various types of web apps, base user object, auth relationships + structured resource tree

Project description

Framework agnostic set of sqlalchemy classes that make building applications that require permissions an easy task.

ziggurat_foundations supplies a set of sqlalchemy mixins that can be used to extend models in your application built in pyramid/flask/(your-favourite-framework-here). The aim of this project is to supply set of generic models that cover the most common needs in application development when it comes to authorization - using flat and tree like data structures.

DOCUMENTATION: http://readthedocs.org/docs/ziggurat-foundations/en/latest/

BUG TRACKER: https://github.com/ergo/ziggurat_foundations

So far following basics are supplied:

  • User - base for user accounts

  • Group - container for many users

  • Resource - Arbitrary database entity that can represent various object hierarchies - blogs, forums, cms documents, pages etc.

Currently following information and data manipulation is supported:

  • assigning arbitrary permissions directly to users (ie. access admin panel)

  • assigning users to groups

  • assigning arbitrary permissions to groups

  • assigning arbitrary resource permissions to users (ie. only user X can access private forum)

  • assigning arbitrary resource permissions to groups

The sqlalchemy mixins make all the interactions easy to use in your application and save development time.

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

ziggurat_foundations-0.5.2.tar.gz (21.8 kB view details)

Uploaded Source

File details

Details for the file ziggurat_foundations-0.5.2.tar.gz.

File metadata

File hashes

Hashes for ziggurat_foundations-0.5.2.tar.gz
Algorithm Hash digest
SHA256 3a084585aadb7a62305276e81114c49a6ebcff94e3a9332fd1bf74e68add2ab2
MD5 58f3922cda47bc3d2aea016a24184663
BLAKE2b-256 dfe5db0cff3dc3cd0fe1a45b3e484cd0d8bd20865e1a9a5eef80e6d681ca5f79

See more details on using hashes here.

Provenance

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