I have the accessRules function at Controller component:
array('allow', // allow all users to perform 'index' and 'contact' actions
array('allow', // allow authenticated user to perform 'delete' and 'update' actions
array('deny', // deny all users
The actions ‘registroponto’, ‘index’ and ‘logoff’ are located on the same controller PontoController, and the action gerapdf is located in GridPontoController. When the action gerapf is called the following error appears:
You are not authorized to perform this action.
The strange thing is it was working perfectly but out of nowhere stopped working. Nothing has changed and now the action only works if I change it to the same controller where are the other actions (PontoController).