Replies: 4 comments 11 replies
-
This could be integrated together with #7873 |
Beta Was this translation helpful? Give feedback.
-
I'm in favour of this as it might even help smaller projects. However, I wouldn't call it "Department" because that's quite specific when what we're looking for is something that groups pages or categorises them. "Department" assumes an organisation structure which may not be in place. Maybe the groups of pages would also have their own permissions associated? |
Beta Was this translation helpful? Give feedback.
-
Currently, the best term we found for that new model is This means that we would change the following models:
|
Beta Was this translation helpful? Give feedback.
-
Quick feedback from the discussion at the tech committee last Friday:
@marksweb Is there anything to add from our discussion? |
Beta Was this translation helpful? Give feedback.
-
For sites which scale to many thousands of pages, it would be beneficial to separate the Page-tree into Departments, rather than Sites.
Currently each object of type
TreeNode
has a foreign key onto a Site objects. This is fine for multi-tenant configurations with a few hundred pages per site. It does however not scale well for sites with many thousands of pages. This is because opening the page tree's list-view becomes time consuming since users have to drill down deeply. It also requires a lot of time to compute the permissions, since all pages of a site must be fetched from thePage
model.I therefore would like to add a new model named
Department
which itself has a foreign key toSite
. ModelTreeNode
would then be altered to have a foreign key ontoDepartment
instead ofSite
. This adds another level of indirection and can be made fully backwards compatible. It however can be used to partition the page tree into many departments and hence give users a much clearer view of the pages they are allowed to edit.2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions