-
Notifications
You must be signed in to change notification settings - Fork 383
Open
Labels
backendenhancementimprove an existing featureimprove an existing featurehelp wantedExtra attention is neededExtra attention is neededpythonPull requests that update Python codePull requests that update Python code
Description
Bug Report
Problematic behavior
As discussed in PR #329, some permissions are checked in serializers which may not be a best practise.
Expected behavior/code
Permissions should be checked in permissions.
Don't break the beauty of abilities based permission. This is very useful in the frontend because the frontend knows beforehand what the user can do. The fact that permissions are computed on the same object ensures security and predictability of permissions. It also ensures a very clean code so let's not compromise this with the refactoring discussed here.
Metadata
Metadata
Assignees
Labels
backendenhancementimprove an existing featureimprove an existing featurehelp wantedExtra attention is neededExtra attention is neededpythonPull requests that update Python codePull requests that update Python code
Type
Projects
Status
No status