ev-server icon indicating copy to clipboard operation
ev-server copied to clipboard

Add meaningful auth error logs

Open Ramzay opened this issue 2 years ago • 0 comments

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

Ramzay avatar Jun 23 '22 16:06 Ramzay