Description
If you delete a page that had acl, you get very confusing "you are not allowed to change acl" when you try to recreate the page later.
Steps to reproduce
- Create a new page with acl
- Delete the page
- Send a new user (without admin rights) to recreate the page
The user get a new clean page, without any acl - but he can't save the page becuase of acl errors.
Details
Release 1.3
Workaround
Revert to an old revision that contained acl, then replace the text without modifying the acl lines.
Discussion
This is a severe usability issue.
Possible fixes:
- Instead of pointing to non existing revision when deleting, change the page state, for example, save a "deleted" file or add more meta data to the current file, with 'exists = 1|0'.
Instead of deleting, rename into Trash/!PageName
- When recreating a page, prepend the acl of the last revision before delete to the new revision. When we send the editor for that page, this acl is the effective acl of the page, saved into the acl cache.
This bug is a dublication of MoinMoinBugs/ACLexistsOnDeletedPageAndPreventsForCreation. For a at length discussion see there.
Plan
- Priority:
- Assigned to:
- Status: Acknolewdged. Severe usability bug, but duplicate.