Skip to content

Commit

Permalink
🐛 fix permission name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Coperh committed Oct 30, 2024
1 parent 3bc6e04 commit a1476f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_page_meta/cms_toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def populate(self):
# check global permissions if CMS_PERMISSIONS is active
if get_cms_setting("PERMISSION"):
has_global_current_page_change_permission = has_page_permission(
self.request.user, self.request.current_page, "change"
self.request.user, self.request.current_page, "change_page"
)
else:
has_global_current_page_change_permission = False
Expand Down

0 comments on commit a1476f1

Please sign in to comment.