Page MenuHomePhabricator

give warning when page is deleted while editing and user cannot recreate
Closed, ResolvedPublic

Description

When a page is deleted, while a user edit the same page, the user get a recreate warning after submit the save. But when that user is not allow to create a page in that namespace or the page get a create-protection, the change is lost.

Please add a warning, so the user can copy his change. Thanks.

Steps to reproduce:

  • UserA edit the existing PageA
  • UserB deleted PageA
  • UserA click save
  • UserA get the "You have not permission" page, because the right "createpage"/"createtalk" is missing or the page get create-protection

Version: unspecified
Severity: enhancement

Details

Reference
bz23514

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:01 PM
bzimport set Reference to bz23514.

ichu.ramesh wrote:

Reply to :

>> Umherirrender

How can a non-admin user delete an existing page ? I tried reproducing your above steps but I'm not able to delete a page when I login as an non-admin user.

Deleting is only depending on the delete user right, which group this right is assigned is not necessary, but in the most installation this is the sysop group. UserB of my example can be a User in the sysop group.