ev-server
ev-server copied to clipboard
Add meaningful auth error logs
In processDynamicAsserts() when the authorization fails the resulting error logs doesn't give much information on what entity the issue occured, thus making it more difficult to investigate.
ex: John Doe > Dynamic Authorization 'BasicUser' did not allow to perform 'Delete' on 'User'
Where: BasicUser is the assert that failed...
Add the entity that failed the check + role could help future investigations