Explorar o código

Release note for #3035

Matt Westcott %!s(int64=8) %!d(string=hai) anos
pai
achega
8de1b1b16f
Modificáronse 3 ficheiros con 15 adicións e 0 borrados
  1. 2 0
      CHANGELOG.txt
  2. 11 0
      docs/releases/1.8.rst
  3. 2 0
      docs/topics/permissions.rst

+ 2 - 0
CHANGELOG.txt

@@ -5,6 +5,7 @@ Changelog
 ~~~~~~~~~~~~~~~~
 
  * New page privacy options (Shawn Makinson, Tom Miller, Luca Perico, Matt Westcott)
+ * New 'bulk delete' permission type for deleting pages with children (Matt Westcott)
  * Added support of a custom `edit_handler` in site settings (Axel Haustant)
  * Added `get_landing_page_template` getter method to `AbstractForm` (Gagaro)
  * Added `Page.get_admin_display_title` method to override how the title is displayed in the admin (Henk-Jan van Hasselaar)
@@ -21,6 +22,7 @@ Changelog
  * Fix: `set_url_paths` management command is now compatible with Django 1.10 (Benjamin Bach)
  * Fix: Form builder email notifications now output multiple values correctly (Sævar Öfjörð Magnússon)
  * Fix: Closing 'more' dropdown on explorer no longer jumps to the top of the page (Ducky)
+ * Fix: Users with only publish permission are no longer given implicit permission to delete pages (Matt Westcott)
 
 
 1.7 (20.10.2016)

+ 11 - 0
docs/releases/1.8.rst

@@ -19,6 +19,16 @@ Previously users with publishing permissions were able to restrict access to a p
 See: :ref:`private_pages`
 
 
+Restrictions on bulk-deletion of pages
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Previously, any user with edit permission over a page and its descendants was able to delete them all as a single action, which led to the risk of accidental deletions. To guard against this, the permission rules have been revised so that a user with basic permissions can only delete pages that have no children; in order to delete a whole subtree, they must individually delete each child page first. A new "bulk delete" permission type has been added which allows a user to delete pages with children, as before; superusers receive this permission implicitly, and so there is no change of behaviour for them.
+
+See: :ref:`permissions`
+
+This feature was developed by Matt Westcott.
+
+
 Minor features
 ~~~~~~~~~~~~~~
 
@@ -43,6 +53,7 @@ Bug fixes
  * ``set_url_paths`` management command is now compatible with Django 1.10 (Benjamin Bach)
  * Form builder email notifications now output multiple values correctly (Sævar Öfjörð Magnússon)
  * Closing 'more' dropdown on explorer no longer jumps to the top of the page (Ducky)
+ * Users with only publish permission are no longer given implicit permission to delete pages (Matt Westcott)
 
 Upgrade considerations
 ======================

+ 2 - 0
docs/topics/permissions.rst

@@ -1,3 +1,5 @@
+.. _permissions:
+
 ===========
 Permissions
 ===========