Permission message persists showing even with permitted user

Hi,
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 https://github.com/frappe/frappe/commit/11ec1e81a8f606a34250acc9821b8aed4434ae7c#diff-e005fc0d8ad7c22575c862f3bc2c28db for adding a print decorator on the has_permission function

2 Likes

Is that normal ?!