Skip to content

Django permission group naming can be misleading #7003

@LavissaWoW

Description

@LavissaWoW

Within my work here, I'm noticing the Django permission groups tend to be a bit misleading with regards to what a general user would think they imply.

What a user might think:
View: I can see the elements in this category
Add: I can create new entries in this category
Change: I can edit exisiting entries in this category
Delete: I can remove/delete entries in this category

What actually is the case:
View: I can perform GET requests
Add: I can perform POST requests
Change: I Can perform PATCH/PUT requests
Delete: I can perform DELETE requests

Here's where theory collides with practise.
We have a lot of what one would consider "Change"-defined actions performed via POST requests. State transitions and receiving line items to name two. This inevitably leads to confusion. And for some it might be a problem as they want to granularly limit creating things and managing exisiting things to different groups of employees.

I've created the issue without a template, as it's not a bug per se, but more a call for discussion on the topic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingIndicates a major update or change which breaks compatibilityinactiveIndicates lack of activityquestionThis is a questionrefactorsecurityRelates to a security issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions