Difficulties with authorizeModel

Does anyone know how to report on the correct use of authorizeModel?

I’m following the book and in AppController I put

$ this-> Authorization-> authorizeModel (‘index’, ‘add’);

expecting you to automatically authorize these actions on all models, but it doesn’t work

what am I doing wrong?

I had created policies only for Entity (UserPolicy) and not for Model (UsersTablePolicy)
Now it worked