PermissionDenied message #36

Open
opened 2020-06-16 16:04:12 +00:00 by phryk · 0 comments
phryk commented 2020-06-16 16:04:12 +00:00 (Migrated from rnd.phryk.net)

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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phryk-evil-mad-sciences-llc/poobrains#36
No description provided.