We have moved to Github. Please open tickets there.

Opened 11 months ago

Last modified 11 months ago

#4579 reopened Defect

Pages: sub-page not createable by user with write-access

Reported by: beck24 Owned by:
Priority: normal Milestone: Needs Review
Component: Pages Version: 1.8.5
Severity: minor Keywords: subpages, permissons
Cc: brett@… Difficulty:

Description

In Elgg 1.7 a user with write access to a page could create a sub-page of for that page. This is not the case in 1.8.

Is this a design decision or something that got lost in the migration?

I need to restore that functionality for my project, so I can either implement it as a customization, or create a pull request to fix it in the core plugin if it was an oversight.

Change History (4)

comment:1 Changed 11 months ago by cash

  • Resolution set to duplicate
  • Status changed from new to closed

The change was an accident. Closing as a duplicate of #4343

comment:2 Changed 11 months ago by cash

  • Component changed from Core to Pages
  • Resolution duplicate deleted
  • Status changed from closed to reopened

I was wrong. #4343 is only about group pages. I think you are talking about user pages. Reopening.

comment:3 Changed 11 months ago by sembrestels

  • Keywords subpages, permissons added

If user A want to create a B user's subpage, he should be the owner of the new page but the page won't be accessible from his profile.

The cause is that profiles only list page_top entities. The subpage only will be accessible from B's main page sidebar, and from A's river.

We can do this like that.

comment:4 Changed 11 months ago by cash

Here is how I would do it:

When User A creates a subpage on a page owned by User B, User B owns it and it is given the same permissions as the main page.

The reason I like that is otherwise User A could change the permissions so that User B cannot edit or delete the page. If User B deletes the main page, what should happen to the subpage. We have another ticket for recursive deletes (and we also need to implement moving pages in the tree).

Note: See TracTickets for help on using tickets.