Add basic page view permission, not really working

This commit is contained in:
Skia
2015-11-25 10:29:25 +01:00
parent 5b8b3746e6
commit d72b18c120
3 changed files with 29 additions and 5 deletions

View File

@ -149,7 +149,7 @@ class Page(models.Model):
unique_together = ('name', 'parent')
permissions = (
#("can_edit", "Can edit the page"),
#("can_view", "Can view the page"),
("can_view", "Can view the page"),
)
@staticmethod