wagtail/wagtail/models
Stefan Hammer 3de6ce61ff Improve filtering of audit logging based on the user's permissions (#11020)
Until now, a user could see the audit log for all custom models,
permissions haven't been checked yet.
Now, only log entries of those content types are displayed, where
the user has at least one permission.

The change also adds filtering to the action-dropdown.
This avoids showing unnecessary action types, e.g. actions which aren't
used at all.
All 3 uses of action-dropdowns (site history, page history, generic
history) only display those actions, which are used at least once.

This partially fixes #9181.
2023-10-19 13:46:55 +01:00
..
__init__.py Update restriction message when switched to public 2023-10-17 15:41:49 +01:00
audit_log.py Improve filtering of audit logging based on the user's permissions (#11020) 2023-10-19 13:46:55 +01:00
collections.py Use a CollectionQuerySet method to simplify displaying indented collection lists 2022-07-04 19:01:28 +01:00
copying.py Automatically ignore `GenericRelation` when copying pages 2022-04-10 09:00:06 +01:00
i18n.py Run pyupgrade with `--py38-plus` 2023-07-14 13:06:41 +01:00
reference_index.py use ignore_conflicts when inserting references 2023-10-13 14:05:38 +01:00
sites.py Run pyupgrade with `--py38-plus` 2023-07-14 13:06:41 +01:00
specific.py Configure ruff to apply isort rules 2023-06-13 10:36:21 +01:00
view_restrictions.py Move wagtail.core to wagtail 2022-03-17 17:19:59 +00:00