| ... | @@ -98,6 +98,8 @@ class LDPPermissions(LDPObjectLevelPermissions, OwnerAuthAnonPermissions, Cached |
... | @@ -98,6 +98,8 @@ class LDPPermissions(LDPObjectLevelPermissions, OwnerAuthAnonPermissions, Cached |
|
|
|
|
|
|
|
`LDPSerializer` does a similar thing (via the `LDListMixin`) for nested fields (e.g. applying the `MemberPermissions.filter_backends` to `mymodel/1/members/`)
|
|
`LDPSerializer` does a similar thing (via the `LDListMixin`) for nested fields (e.g. applying the `MemberPermissions.filter_backends` to `mymodel/1/members/`)
|
|
|
|
|
|
|
|
|
Note that the default behaviour of `LDPBasePermissions` is to define `filter_backends = []`. Extending this class will prevent `LDPPermissionsFilterBackend` being applied to your custom permissions classes without explicitly requesting this, but you can still add your own `FilterBackend` to the permissions class for working with `LDPViewSet` or for use in custom views
|
|
|
|
|
|
|
# DjangoLDP v1
|
|
# DjangoLDP v1
|
|
|
|
|
|
|
|
DjangoLDP permissions classes perform 3 roles:
|
|
DjangoLDP permissions classes perform 3 roles:
|
| ... | |
... | |
| ... | | ... | |