mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
Add basic page view permission, not really working
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user