Permission message persists showing even with permitted user

I’m applying a workflow on the Leave Application, I’m on staging branch
erpnext 11.0.3-beta.34
frappe 11.0.3-beta.48
The issue is when I try to save or move forward in actions the document saved and workflow_state moving normally but within the following message print

I have already done some user permissions on the employees, but this message keeps showing if I create the document by a permitted user or even by the Administrator.
I tried to track what is causing this message to show I found this commit for adding a print decorator on the has_permission function


Is that normal ?!