Permissions

Custom permissions for the restAPI.

Classes:

HasEncryptionSecretPermission()

Check if the user has access to the e2ee.EncryptionKey.

class django_e2ee.permissions.HasEncryptionSecretPermission

Bases: BasePermission

Check if the user has access to the e2ee.EncryptionKey.

Methods:

has_object_permission(request, view, obj)

Return True if permission is granted, False otherwise.

has_object_permission(request, view, obj)

Return True if permission is granted, False otherwise.