mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
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:
parent
00bd60ef4f
commit
c20d5855e4
@ -1171,7 +1171,6 @@ class Page(models.Model):
|
|||||||
unique_together = ("name", "parent")
|
unique_together = ("name", "parent")
|
||||||
permissions = (
|
permissions = (
|
||||||
("change_prop_page", "Can change the page's properties (groups, ...)"),
|
("change_prop_page", "Can change the page's properties (groups, ...)"),
|
||||||
("view_page", "Can view the page"),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user