mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-21 09:59:02 +01:00
Ensure that creation of image/document choose permissions happens after access_admin permission exists
As per https://github.com/wagtail/wagtail/issues/12581#issuecomment-2478983521. Fixes #12581
This commit is contained in:
parent
220a621a88
commit
e7dd00e427
@ -17,6 +17,7 @@ Changelog
|
||||
* Fix: Ensure form builder supports custom admin form validation (John-Scott Atlakson, LB (Ben) Johnston)
|
||||
* Fix: Ensure form builder correctly checks for duplicate field names when using a custom related name (John-Scott Atlakson, LB (Ben) Johnston)
|
||||
* Fix: Normalize `StreamField.get_default()` to prevent creation forms from breaking (Matt Westcott)
|
||||
* Fix: Prevent out-of-order migrations from skipping creation of image/document choose permissions (Matt Westcott)
|
||||
* Docs: Move the model reference page from reference/pages to the references section as it covers all Wagtail core models (Srishti Jaiswal)
|
||||
* Docs: Move the panels reference page from references/pages to the references section as panels are available for any model editing, merge panels API into this page (Srishti Jaiswal)
|
||||
* Docs: Move the tags documentation to standalone advanced topic, instead of being inside the reference/pages section (Srishti Jaiswal)
|
||||
|
@ -30,6 +30,7 @@ depth: 1
|
||||
* Ensure form builder supports custom admin form validation (John-Scott Atlakson, LB (Ben) Johnston)
|
||||
* Ensure form builder correctly checks for duplicate field names when using a custom related name (John-Scott Atlakson, LB (Ben) Johnston)
|
||||
* Normalize `StreamField.get_default()` to prevent creation forms from breaking (Matt Westcott)
|
||||
* Prevent out-of-order migrations from skipping creation of image/document choose permissions (Matt Westcott)
|
||||
|
||||
### Documentation
|
||||
|
||||
|
@ -80,6 +80,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("wagtaildocs", "0010_document_file_hash"),
|
||||
("wagtailadmin", "0001_create_admin_access_permissions"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -80,6 +80,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("wagtailimages", "0022_uploadedimage"),
|
||||
("wagtailadmin", "0001_create_admin_access_permissions"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
Loading…
Reference in New Issue
Block a user