{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":85976485,"defaultBranch":"main","name":"wagtail-inventory","ownerLogin":"cfpb","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-03-23T17:11:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1071563?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1722352529.0","currentOid":""},"activityList":{"items":[{"before":"617812966796c6f99e5bc94fa2e367ce06d69fac","after":"5ffdd1587a4c864b4c230551d1ab7a176fd0adaa","ref":"refs/heads/upgrade/wagtail62","pushedAt":"2024-08-01T16:18:59.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update for universal listing report\n\nThis change updates the Wagtail Block Inventory report to be a universal listing, per the [changes in Wagtail 6.2](https://docs.wagtail.org/en/latest/releases/6.2.html#changes-to-report-views-with-the-new-universal-listings-ui).\n\nBecause the way universal listing filters work doesn't play well with django-autocomplete-lite and Select2, I've removed that dependency.\n\nTo make the block selection filters more human-friendly (and less likely to truncate before the actual block name), I've also shortened the block name in the filter to just the block name itself, not the full module path of the block. This does risk some potential duplicate blocks, but I suspect it should be okay.\n\nFinally, because of the switch to universal listings, rather than continue to support old-and-new style reports, I've removed support for Wagtail < 6.2. This will necessitate a major release.","shortMessageHtmlLink":"Update for universal listing report"}},{"before":"ec9d1683df26030080f5da49732a78a8f75b63d6","after":"617812966796c6f99e5bc94fa2e367ce06d69fac","ref":"refs/heads/upgrade/wagtail62","pushedAt":"2024-07-30T15:18:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update for universal listing report\n\nThis change updates the Wagtail Block Inventory report to be a universal listing, per the [changes in Wagtail 6.2](https://docs.wagtail.org/en/latest/releases/6.2.html#changes-to-report-views-with-the-new-universal-listings-ui).\n\nBecause the way universal listing filters work doesn't play well with django-autocomplete-lite and Select2, I've removed that dependency.\n\nTo make the block selection filters more human-friendly (and less likely to truncate before the actual block name), I've also shortened the block name in the filter to just the block name itself, not the full module path of the block. This does risk some potential duplicate blocks, but I suspect it should be okay.\n\nFinally, because of the switch to universal listings, rather than continue to support old-and-new style reports, I've removed support for Wagtail < 6.2. This will necessitate a major release.","shortMessageHtmlLink":"Update for universal listing report"}},{"before":"67bf208d55a89bd3395c02f17c3ef5fc9fc51db4","after":null,"ref":"refs/heads/update/packaging-boilerplate","pushedAt":"2024-07-30T15:15:29.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"}},{"before":"706479615dba22a54c11a77d8741d2acc79f0198","after":"601ad5fee40dc365bcf17a7c2c5c080c9c0853cb","ref":"refs/heads/main","pushedAt":"2024-07-30T15:14:43.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Merge pull request #83 from cfpb/update/packaging-boilerplate\n\nUpdate package tooling and boilerplate","shortMessageHtmlLink":"Merge pull request #83 from cfpb/update/packaging-boilerplate"}},{"before":null,"after":"ec9d1683df26030080f5da49732a78a8f75b63d6","ref":"refs/heads/upgrade/wagtail62","pushedAt":"2024-07-30T14:06:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update for universal listing report\n\nThis change updates the Wagtail Block Inventory report to be a universal listing, per the [changes in Wagtail 6.2](https://docs.wagtail.org/en/latest/releases/6.2.html#changes-to-report-views-with-the-new-universal-listings-ui).\n\nBecause the way universal listing filters work doesn't play well with django-autocomplete-lite and Select2, I've removed that dependency.\n\nTo make the block selection filters more human-friendly (and less likely to truncate before the actual block name), I've also shortened the block name in the filter to just the block name itself, not the full module path of the block. This does risk some potential duplicate blocks, but I suspect it should be okay.\n\nFinally, because of the switch to universal listings, rather than continue to support old-and-new style reports, I've removed support for Wagtail < 6.2. This will necessitate a major release.","shortMessageHtmlLink":"Update for universal listing report"}},{"before":"461706e10e41dfaad8db1c45dc5c48e0490d5d5c","after":"67bf208d55a89bd3395c02f17c3ef5fc9fc51db4","ref":"refs/heads/update/packaging-boilerplate","pushedAt":"2024-07-30T13:14:54.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update package tooling and boilerplate\n\nThis change updates our tooling to make a few changes and updates:\n\n- Use Ruff exclusively for formatting, linting, and import-sorting. Ruff can replace Black and isort, and is faster.\n- Add Bandit for static security analysis.\n- Move to pyproject.toml\n- Add setuptools_scm for versioning. This will mean we don't have to manually update a version number in pyproject.toml.\n- Run `ruff check --fix` for linting fixes\n- Updates our officially supported versions of Django, Wagtail, and Django-Flags to the most recent versions","shortMessageHtmlLink":"Update package tooling and boilerplate"}},{"before":"fe39a249aa35d6ed3aa109760b83ef9b966dbe1d","after":"461706e10e41dfaad8db1c45dc5c48e0490d5d5c","ref":"refs/heads/update/packaging-boilerplate","pushedAt":"2024-07-05T18:02:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update package tooling and boilerplate\n\nThis change updates our tooling to make a few changes and updates:\n\n- Use Ruff exclusively for formatting, linting, and import-sorting. Ruff can replace Black and isort, and is faster.\n- Add Bandit for static security analysis.\n- Move to pyproject.toml\n- Add setuptools_scm for versioning. This will mean we don't have to manually update a version number in pyproject.toml.\n- Run `ruff check --fix` for linting fixes\n- Updates our officially supported versions of Django, Wagtail, and Django-Flags to the most recent versions","shortMessageHtmlLink":"Update package tooling and boilerplate"}},{"before":"66d76425abaffd4edf569a39fa0ecd55d5a8914c","after":"fe39a249aa35d6ed3aa109760b83ef9b966dbe1d","ref":"refs/heads/update/packaging-boilerplate","pushedAt":"2024-07-05T18:00:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update package tooling and boilerplate\n\nThis change updates our tooling to make a few changes and updates:\n\n- Use Ruff exclusively for formatting, linting, and import-sorting. Ruff can replace Black and isort, and is faster.\n- Add Bandit for static security analysis.\n- Move to pyproject.toml\n- Add setuptools_scm for versioning. This will mean we don't have to manually update a version number in pyproject.toml.\n- Run `ruff check --fix` for linting fixes\n- Updates our officially supported versions of Django, Wagtail, and Django-Flags to the most recent versions","shortMessageHtmlLink":"Update package tooling and boilerplate"}},{"before":null,"after":"66d76425abaffd4edf569a39fa0ecd55d5a8914c","ref":"refs/heads/update/packaging-boilerplate","pushedAt":"2024-07-05T17:59:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Update package tooling and boilerplate\n\nThis change updates our tooling to make a few changes and updates:\n\n- Use Ruff exclusively for formatting, linting, and import-sorting. Ruff can replace Black and isort, and is faster.\n- Add Bandit for static security analysis.\n- Move to pyproject.toml\n- Add setuptools_scm for versioning. This will mean we don't have to manually update a version number in pyproject.toml.\n- Run `ruff check --fix` for linting fixes\n- Updates our officially supported versions of Django, Wagtail, and Django-Flags to the most recent versions","shortMessageHtmlLink":"Update package tooling and boilerplate"}},{"before":"55232d09f5ddd90d0dc36b90d17e8a30272ce12b","after":"706479615dba22a54c11a77d8741d2acc79f0198","ref":"refs/heads/main","pushedAt":"2024-02-27T15:29:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Prep for 2.6 release","shortMessageHtmlLink":"Prep for 2.6 release"}},{"before":"d9b069575cdb69e3f0398652d50a956e93b15118","after":null,"ref":"refs/heads/support/wagtail-6","pushedAt":"2024-02-27T15:07:41.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"}},{"before":"56f49d1e0d36aeba804b3443f2c756a0e9d05126","after":"55232d09f5ddd90d0dc36b90d17e8a30272ce12b","ref":"refs/heads/main","pushedAt":"2024-02-27T15:07:38.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Merge pull request #82 from cfpb/support/wagtail-6\n\nAdd support for Wagtail 6.0","shortMessageHtmlLink":"Merge pull request #82 from cfpb/support/wagtail-6"}},{"before":"342a19d5477d7a409a02a15141446c4139cfc280","after":"d9b069575cdb69e3f0398652d50a956e93b15118","ref":"refs/heads/support/wagtail-6","pushedAt":"2024-02-27T14:27:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Update README and PyPI classifiers\n\nAdd compatibility notes to README and pyproject.toml.","shortMessageHtmlLink":"Update README and PyPI classifiers"}},{"before":null,"after":"342a19d5477d7a409a02a15141446c4139cfc280","ref":"refs/heads/support/wagtail-6","pushedAt":"2024-02-26T18:12:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Add support for Wagtail 6.0\n\nThis change adds support for Wagtail 6.0 and augments the testing\nmatrix with a combination of Wagtail 6 + Django 5.","shortMessageHtmlLink":"Add support for Wagtail 6.0"}},{"before":"b04a132c106e476d8db61bf5df0938c78bdbb25a","after":null,"ref":"refs/heads/pypi-trusted-publishing","pushedAt":"2024-01-08T21:02:00.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"}},{"before":"bb078d5e7bdaa776450716afc5abd1af867aae4c","after":"56f49d1e0d36aeba804b3443f2c756a0e9d05126","ref":"refs/heads/main","pushedAt":"2024-01-08T21:01:48.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Merge pull request #81 from cfpb/pypi-trusted-publishing\n\nUse PyPI trusted publishing on release","shortMessageHtmlLink":"Merge pull request #81 from cfpb/pypi-trusted-publishing"}},{"before":null,"after":"b04a132c106e476d8db61bf5df0938c78bdbb25a","ref":"refs/heads/pypi-trusted-publishing","pushedAt":"2024-01-08T18:05:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"willbarton","name":"Will Barton","path":"/willbarton","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10562538?s=80&v=4"},"commit":{"message":"Use PyPI trusted publishing on release\n\nThis change uses\n[PyPI trusted publishing](https://docs.pypi.org/trusted-publishers/) on release. It requires corresponding changes to the wagtail-sharing package on PyPI to configure the GitHub Actions in release.yml to be allowed to publish, but I have already done this.\n\nThis is the model that PyPI recommends, and that works for our latest [wagtail-treemodeladmin](https://github.com/cfpb/wagtail-treemodeladmin/blob/main/.github/workflows/release.yml) release.","shortMessageHtmlLink":"Use PyPI trusted publishing on release"}},{"before":"6afbe424d6e7c03d3eabbe8d3538400ffee690e7","after":"bb078d5e7bdaa776450716afc5abd1af867aae4c","ref":"refs/heads/main","pushedAt":"2023-11-17T14:39:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Prep for 2.5 release","shortMessageHtmlLink":"Prep for 2.5 release"}},{"before":"bff2c8c3b5f3bf5647caf5f9da3296514188f62f","after":"6afbe424d6e7c03d3eabbe8d3538400ffee690e7","ref":"refs/heads/main","pushedAt":"2023-11-17T14:36:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Add Wagtail 5.2 support","shortMessageHtmlLink":"Add Wagtail 5.2 support"}},{"before":"86bf9a05cfeace69b4774679d07efbf13781368d","after":"bff2c8c3b5f3bf5647caf5f9da3296514188f62f","ref":"refs/heads/main","pushedAt":"2023-10-06T16:55:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Prep for 2.4 release","shortMessageHtmlLink":"Prep for 2.4 release"}},{"before":"d4a49006542953ac9056f0352f9be1e49ec8d003","after":"86bf9a05cfeace69b4774679d07efbf13781368d","ref":"refs/heads/main","pushedAt":"2023-10-06T16:52:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Include support for Wagtail 5.1\n\nAlso bump the Django version for `tox -e interactive` to ensure that\nwe are testing against the latest Wagtail version.","shortMessageHtmlLink":"Include support for Wagtail 5.1"}},{"before":"5d612d0036b6c196119a95785e7cd79a462de9c0","after":"d4a49006542953ac9056f0352f9be1e49ec8d003","ref":"refs/heads/main","pushedAt":"2023-10-05T18:45:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Prep for 2.3 release","shortMessageHtmlLink":"Prep for 2.3 release"}},{"before":"395bcaad72e2aefecb54d3925a4f47d28475cae1","after":null,"ref":"refs/heads/feature/report-page-type","pushedAt":"2023-10-05T14:55:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"}},{"before":"c23d2c27f3abc44a3809949b883f7a73ab575936","after":"5d612d0036b6c196119a95785e7cd79a462de9c0","ref":"refs/heads/main","pushedAt":"2023-10-05T14:55:36.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Merge pull request #76 from cfpb/feature/report-page-type\n\nAdd page type filtering to the inventory report","shortMessageHtmlLink":"Merge pull request #76 from cfpb/feature/report-page-type"}},{"before":"972bfc9f2059880e2b64bbcd3682619f8031fb76","after":"395bcaad72e2aefecb54d3925a4f47d28475cae1","ref":"refs/heads/feature/report-page-type","pushedAt":"2023-10-05T14:50:53.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature/report-page-type","shortMessageHtmlLink":"Merge branch 'main' into feature/report-page-type"}},{"before":"a49d890401e3d3a2e6f16319fcbe19e1d5e2cc80","after":null,"ref":"refs/heads/feature/report-permissions","pushedAt":"2023-10-05T14:50:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"}},{"before":"ed644f846cdd965cdf950e10a801ffce8c8d0f29","after":"c23d2c27f3abc44a3809949b883f7a73ab575936","ref":"refs/heads/main","pushedAt":"2023-10-05T14:50:06.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Merge pull request #77 from cfpb/feature/report-permissions\n\nAdd ability to limit block inventory permission","shortMessageHtmlLink":"Merge pull request #77 from cfpb/feature/report-permissions"}},{"before":"7939dca829f682ecc4194e444bf3034f862bdbdb","after":"a49d890401e3d3a2e6f16319fcbe19e1d5e2cc80","ref":"refs/heads/feature/report-permissions","pushedAt":"2023-10-02T20:36:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Add ability to limit block inventory permission\n\nCurrently any Wagtail user with admin permissions may view the block\ninventory report. This commit adds the ability to leverage the\nexisting wagtailinventory \"view_pageblock\" permission to grant this\nability to non-admin users.\n\nThis permission can be granted in the standard Wagtail group view,\nlisted as \"Can view\" for the \"Page block\" object type.\n\nTo test, run an interactive test session with `tox -e interactive`.\nFirst login as the admin user with credentials `admin` / `changeme`.\nConfirm that the block inventory exists in the Reports sidebar menu\nand that you can view it.\n\nThen, create a new non-admin user at\nhttp://localhost:8000/admin/users/add/. Add this user to the existing\nEditors group but do not grant it admin permissions.\n\nLog out of the Wagtail admin and log back in using this new user.\nYou'll notice this user won't see the block inventory in the Reports\nsidebar menu, and if you try to access\nhttp://localhost:8000/admin/block-inventory/ directly, you'll be\nredirected with an error message.\n\nNext, log back in as admin, and edit the Editors group at\nhttp://localhost:8000/admin/groups/2/. Give this group the \"Can view\"\npermission for the \"Page block\" object type. Hit Save.\n\nFinally, log back in as your other user, and confirm that you can now\naccess the block inventory report.","shortMessageHtmlLink":"Add ability to limit block inventory permission"}},{"before":"330937af3e964f0a604dcdde7394b7ee7c828475","after":"7939dca829f682ecc4194e444bf3034f862bdbdb","ref":"refs/heads/feature/report-permissions","pushedAt":"2023-10-02T20:31:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Add ability to limit block inventory permission\n\nCurrently any Wagtail user with admin permissions may view the block\ninventory report. This commit adds the ability to leverage the\nexisting wagtailinventory \"view_pageblock\" permission to grant this\nability to non-admin users.\n\nThis permission can be granted in the standard Wagtail group view,\nlisted as \"Can view\" for the \"Page block\" object type.\n\nTo test, run an interactive test session with `tox -e interactive`.\nFirst login as the admin user with credentials `admin` / `changeme`.\nConfirm that the block inventory exists in the Reports sidebar menu\nand that you can view it.\n\nThen, create a new non-admin user at\nhttp://localhost:8000/admin/users/add/. Add this user to the existing\nEditors group but do not grant it admin permissions.\n\nLog out of the Wagtail admin and log back in using this new user.\nYou'll notice this user won't see the block inventory in the Reports\nsidebar menu, and if you try to access\nhttp://localhost:8000/admin/block-inventory/ directly, you'll be\nredirected with an error message.\n\nNext, log back in as admin, and edit the Editors group at\nhttp://localhost:8000/admin/groups/2/. Give this group the \"Can view\"\npermission for the \"Page block\" object type. Hit Save.\n\nFinally, log back in as your other user, and confirm that you can now\naccess the block inventory report.","shortMessageHtmlLink":"Add ability to limit block inventory permission"}},{"before":null,"after":"330937af3e964f0a604dcdde7394b7ee7c828475","ref":"refs/heads/feature/report-permissions","pushedAt":"2023-10-02T20:16:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"chosak","name":"Andy Chosak","path":"/chosak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/654645?s=80&v=4"},"commit":{"message":"Add ability to limit block inventory permission\n\nCurrently any Wagtail user with admin permissions may view the block\ninventory report. This commit adds the ability to leverage the\nexisting wagtailinventory \"view_pageblock\" permission to grant this\nability to non-admin users.\n\nThis permission can be granted in the standard Wagtail group view,\nlisted as \"Can view\" for the \"Page block\" object type.\n\nTo test, run an interactive test session with `tox -e interactive`.\nFirst login as the admin user with credentials `admin` / `changeme`.\nConfirm that the block inventory exists in the Reports sidebar menu\nand that you can view it.\n\nThen, create a new non-admin user at\nhttp://localhost:8000/admin/users/add/. Add this user to the existing\nEditors group but do not grant it admin permissions.\n\nLog out of the Wagtail admin and log back in using this new user.\nYou'll notice this user won't see the block inventory in the Reports\nsidebar menu, and if you try to access\nhttp://localhost:8000/admin/block-inventory/ directly, you'll be\nredirected with an error message.\n\nNext, log back in as admin, and edit the Editors group at\nhttp://localhost:8000/admin/groups/2/. Give this group the \"Can view\"\npermission for the \"Page block\" object type. Hit Save.\n\nFinally, log back in as your other user, and confirm that you can now\naccess the block inventory report.","shortMessageHtmlLink":"Add ability to limit block inventory permission"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0wMVQxNjoxODo1OS4wMDAwMDBazwAAAASPWVEx","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0wMVQxNjoxODo1OS4wMDAwMDBazwAAAASPWVEx","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0wMlQyMDoxNjowNS4wMDAwMDBazwAAAAONu1PN"}},"title":"Activity ยท cfpb/wagtail-inventory"}