You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PageToolbarMeta.populate uses incorrect permission name to check if a user has change permission on the current page, causing a KeyError to be raised with django-cms >= 3.11.8.
Steps to reproduce
Install djangocms-page-meta with django-cms 3.11.8.
Log into your website and visit any page with the toolbar visible.
Versions
Python 3.10.14
Django 4.2.16
django-cms. 3.11.8
Expected behaviour
Page loads without crashing.
Actual behaviour
KeyError occurs and page crashes.
Additional information
In djangocms_page_meta/cms_toolbars.py on line 39, "change" should instead be "change_page".
The text was updated successfully, but these errors were encountered:
Description
PageToolbarMeta.populate
uses incorrect permission name to check if a user has change permission on the current page, causing aKeyError
to be raised with django-cms >= 3.11.8.Steps to reproduce
Versions
Python 3.10.14
Django 4.2.16
django-cms. 3.11.8
Expected behaviour
Page loads without crashing.
Actual behaviour
KeyError
occurs and page crashes.Additional information
In
djangocms_page_meta/cms_toolbars.py
on line 39, "change" should instead be "change_page".The text was updated successfully, but these errors were encountered: