mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Add basic page view permission, not really working
This commit is contained in:
1 parent
5b8b3746e6
commit
d72b18c120
3 files changed
+29
-5
No files matched your search
+1
-1
@@ -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