Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Dec 17, 2024
1 parent 010f79d commit 7260726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cms/contexts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_parent_fullpath(self):
def is_localizable_by(self, user=None, obj=None, parent=False):
if not user: return False
if user.is_superuser: return True
self if not obj else obj
item = self if not obj else obj
parent = self.parent if parent else self
eb_permission = EditorialBoardEditors.get_permission(parent, user)
perms = is_translator(eb_permission)
Expand Down

0 comments on commit 7260726

Please sign in to comment.