I found error error Error: Action must be defined to build a permission query.

I have the same error. I was playing with users permissions plugin, I don’t know if it is that what causes the error.