django2.2: remove view_page permission as it clash with built-in permission

Need a bit of discussion as I'm not an expert in django built-in permissions
An issue on github says it's related to https://docs.djangoproject.com/en/2.1/releases/2.1/#considerations-for-the-new-model-view-permission
This commit is contained in:
Antoine Bartuccio 2019-10-06 00:11:32 +02:00
parent 00bd60ef4f
commit c20d5855e4
Signed by: klmp200
GPG Key ID: E7245548C53F904B

View File

@ -1171,7 +1171,6 @@ class Page(models.Model):
unique_together = ("name", "parent")
permissions = (
("change_prop_page", "Can change the page's properties (groups, ...)"),
("view_page", "Can view the page"),
)
@staticmethod