Skip to main content

Authorization for web apps: permissions, groups, roles, ACLs

Project description

Knave provides roles/groups and permissions based authorization for web (WSGI) applications. Knave assigns roles to users (both site wide roles like ‘administrator’ and context-sensitive roles like ‘creator’), then uses those roles to decide whether the user has permission to carry out an action.

You can configure permissions and roles statically in your code, or write adapters to pull authorization information from a database or other backend.

Knave doesn’t do authentication, but can hook into most authentication systems.

Knave Authorization Documentation | Repository

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

knave-1.0.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

knave-1.0.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file knave-1.0.0.tar.gz.

File metadata

  • Download URL: knave-1.0.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.9

File hashes

Hashes for knave-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5119a83a34b51a28b37bcb205054089a45bea8c49f4a5ddcd4c6160ecdf517db
MD5 2ded185a30aabe47e9d8a035ee72756e
BLAKE2b-256 bab5c4f662c76db74795997aa6a59343116ec9bb8a9b0cfe9fa29bc9c25911cb

See more details on using hashes here.

File details

Details for the file knave-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: knave-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.9

File hashes

Hashes for knave-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a22d27e664e6c74cc44f0bad716343efb77102d2b5c99e333e6f936734a58f5
MD5 471d11ab6285f882f91db9a613228fb0
BLAKE2b-256 333a0ef6b2847dcacc9a64534467d56921d29c7d080507025030c38bdb54760b

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