Skip to main content

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.

Release files for objectpermissions 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for objectpermissions 0.3
File Size Uploaded
objectpermissions-0.3.tar.gz 252.4 kB Details

Release files / objectpermissions-0.3.tar.gz

Download URL objectpermissions-0.3.tar.gz
Size 252.4 kB
Tags Source
SHA-256 checksum
How to use checksums
31e70ae7f5a39ea23a3fe179cc9a457e7b4238f65ac02d6406c2814471294a3f
BLAKE2b-256 checksum
How to use checksums
3f5b13ea9dac32a662f05315b20d691501be150ed46830b6099785eb1fa380df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page