There is an ACL check $user->authorise('core.edit.state', 'com_banners.category') in this view.
This is an invalid ACL check. For ACL check categories we need to check with the category id (example: 'com_banners.category.99'.)
So this PR removes this ACL check, since it is doing nothing and is bad code.
Testing Instructions
Mainly code review, but you can test if banners view continues to work.
1. Apply patch
2. Banners view still work.
reverted change as discussed in #12799
now the only change is corrected the asset name from
com_banners.category
tocom_banners
.