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 cd4eca6 commit a96641a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/32.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix for permission name change
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 a96641a

Please sign in to comment.