You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user is given a 401 error message, they have no way to know what roles/perms they are lacking without asking a developer to look at the code (if they don't know it off the top of their head).
I propose that the error message sent from abort() should have the 'can' and 'is' requirements for that route/page/etc.
I have a patch for this feature. I'll submit a pull request shortly.
The text was updated successfully, but these errors were encountered:
I appreciate your comment on this matter, but I don't agree with you. You do not want to expose application logic to the client. 401 INSUFFICIENT_PERMISSIONS is just right in my opinion.
When a user is given a 401 error message, they have no way to know what roles/perms they are lacking without asking a developer to look at the code (if they don't know it off the top of their head).
I propose that the error message sent from abort() should have the 'can' and 'is' requirements for that route/page/etc.
I have a patch for this feature. I'll submit a pull request shortly.
The text was updated successfully, but these errors were encountered: