PermissionDenied message #36

Open
opened 2 years ago by phryk · 0 comments
phryk commented 2 years ago (Migrated from rnd.phryk.net)
Owner

Originally from github issue:

PermissionDenied message is currently explicitly the same everywhere ("YOU SHALL NOT PASS!").
This doesn't make sense.
Implement two base Exception types, one where message is only displayed in debug mode to avoid infoleak?

poobrains got errors.ExposedError for something like that by now, but just adjusting PermissionDenied messages so they actually inform but don't leak sensitive info sounds be more reasonable.

Originally from github issue: > PermissionDenied message is currently explicitly the same everywhere ("YOU SHALL NOT PASS!"). > This doesn't make sense. > Implement two base Exception types, one where message is only displayed in debug mode to avoid infoleak? poobrains got `errors.ExposedError` for something like that by now, but just adjusting PermissionDenied messages so they actually inform but don't leak sensitive info sounds be more reasonable.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.