Skip to content
Snippets Groups Projects

Follow up

Merged Benoit Alessandroni requested to merge follow-up into master
Compare and Show latest version
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -15,6 +15,9 @@ class RegionalReferentPermissions(LDPBasePermission):
if user.is_superuser:
return True
if user.is_anonymous:
return False
# We need to loop through the object class meta path provided
for field in model.path().split('.'):
obj = getattr(obj, field)
Loading