diff --git a/docs/releases/2.17.md b/docs/releases/2.17.md index e5ba7f28ed..64d27afff0 100644 --- a/docs/releases/2.17.md +++ b/docs/releases/2.17.md @@ -23,6 +23,11 @@ Here are other changes related to the redesign: The panel types `StreamFieldPanel`, `RichTextFieldPanel`, `ImageChooserPanel`, `DocumentChooserPanel` and `SnippetChooserPanel` have been phased out, and can now be replaced with `FieldPanel`. Additionally, `PageChooserPanel` is only required when passing a `page_type` or `can_choose_root`, and can otherwise be replaced with `FieldPanel`. In all cases, `FieldPanel` will now automatically select the most appropriate form element. This feature was developed by Matt Westcott. +### Permission-dependent FieldPanels + +[`FieldPanel`](wagtail.admin.edit_handlers.FieldPanel) now accepts a `permission` keyword argument to specify that the field should only be available to users with a given permission level. This feature was developed by Matt Westcott and sponsored by Google as part of Wagtail's page editor redevelopment. + + ### Other features * Upgrade ESLint and Stylelint configurations to latest shared Wagtail configs (Thibaud Colas)