Create a group with permission to logon to admin
Create a category and assign the group the create
Login as the user and filter by the category
Try to create an article
User should be able to create article
User cannot create article
The $this->state->get('filter.category_id') is an array and get converted into a int.
So the asset name will always be "com_content.category.1"
No Code Attached Yet
I guess the getActions method should check if the ID is array than process the whole array, if it a single value do what it does today.
I just realized that create work as there is "count($user->getAuthorisedCategories('com_content', 'core.create'))" that fixes the issue for create, but I was testing core.edit and core.edit.state that does not work.