Object level permissions with Django REST framework

preview_player
Показать описание
As software engineers we have duty to enhance the security of our applications. One of patterns that are crucial for that is called “object level permissions”. These permissions are used to grant or deny an access for different categories of users to different parts of the API. They are employed on the model level.

In this video we will learn how to implement object level permissions with Django REST framework.

00:00 - Start
00:09 - Create the sample app
00:50 - Create a model
02:43 - Create a serializer
04:34 - Create views
08:57 -The problem overview (why do we need object level permissions)
11:38 - How to implement object level permissions with Django REST framework
12:28 - Implement the IsOwnerPermission class
15:04 - Writing tests

#python #django #djangorestframework #pythonprogramming #pythontutorial #coding #developers #webdevelopment #webdeveloper #technology #tech

Рекомендации по теме
welcome to shbcf.ru