Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It must not be possible to delete IONMedia items which are used in published pages (also consider usage via StreamField / IonMediaBlock) #12

Open
rollacting opened this issue Mar 1, 2021 · 2 comments
Assignees
Labels
Bug Something isn't working Priority: !!! Important issue Status: To Test Pull request merged, needs testing

Comments

@rollacting
Copy link
Contributor

limiting this to published pages would be enough imho, since the validation is triggered when trying to publish drafts with missing video files

@rollacting rollacting added Bug Something isn't working Priority: !!! Important issue labels Mar 1, 2021
@rollacting rollacting added the Status: To Do Should be worked on in this milestone label Mar 5, 2021
@rollacting
Copy link
Contributor Author

also, can we add audit-log logic to our ION media / image models?
https://docs.wagtail.io/en/stable/advanced_topics/audit_log.html

ferdinand-hoffmann pushed a commit that referenced this issue Mar 9, 2021
Works similar to `wagtail.admin.models.get_object_usage` but inspects
pages to find blocks linked to the object

Re #12
ferdinand-hoffmann pushed a commit that referenced this issue Mar 10, 2021
@ferdinand-hoffmann
Copy link

also, can we add audit-log logic to our ION media / image models?
https://docs.wagtail.io/en/stable/advanced_topics/audit_log.html

Re #16

@rollacting rollacting added Status: To Test Pull request merged, needs testing and removed Status: To Do Should be worked on in this milestone labels Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Priority: !!! Important issue Status: To Test Pull request merged, needs testing
Projects
None yet
Development

No branches or pull requests

3 participants