Skip to main content

A method for adding object-level or row-level permissions

Project description

Django Object Permissions is a way to add a custom set of user-object or group-object permissions. It does not replace Django’s built-in permissions. Instead it augments them by adding additional ways to manage access to specific objects.

You can add object permissions to existing apps (e.g. Flat Pages) without modifying the app’s code, or build it into your own application.

It uses an efficient method of storing permissions; it requires only one row per user-object combination, regardless of the number of permissions granted.

Our initial goals were pretty simple (in thought, not necessarily in deed):

  • Have an easy way to set read/write/owner permissions on an object or row

  • Easy to discover if a given user has a level of permission

  • Customizable permissions by model

  • Admin viewing/editing integration

This is a proof-of-concept right now and we are looking for feedback for tweaks in implementation or new ideas to implement.

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

django-objectpermissions-0.3.3.tar.gz (253.8 kB view details)

Uploaded Source

File details

Details for the file django-objectpermissions-0.3.3.tar.gz.

File metadata

File hashes

Hashes for django-objectpermissions-0.3.3.tar.gz
Algorithm Hash digest
SHA256 365265ae27e5320439d739f1a316aade66705c9daab7afa8795bd511b7cc42dd
MD5 5526557de7b5cb3a324e966d8a4c7eab
BLAKE2b-256 f5f919e6a0852502054b441f89d48e49cb137e60c934c3c9d1bfc7b69d3607ac

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