django / django/new-features

A better auth API (row and field level permissions)

Open
#17 4 comments 25 reactions 0 assignees View on GitHub
Authentication/Users
Dominant language
No language data
Stars
188
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [x] I agree to follow Django's Code of Conduct

### Feature Description

In the same vein as django-tasks, Django should expose an API for user authorisation that third-party packages can leverage to implement user roles and permissions at the object and field levels.

This way, the Django team doesn't necessarily have to deal with the implementation details. Even the existing Groups and Permissions models can be offloaded into a community package (and the admin should probably leverage the API to maintain compatibility)

### Problem

Groups and Permissions have existed, but they assume object-level CRUD and anything advanced is pushed to third-party libraries. The ecosystem already has multiple established and standard libraries, but using them usually feels like learning a whole new framework on top of django.

### Request or proposal

proposal

### Additional Details

_No response_

### Implementation Suggestions

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.