Debug log for users being denied access #1297
Replies: 2 comments
-
I'm not sure this is feasible. During our discussion in slack on extractor, everybody agreed we cannot use debug_backtrace() in our development code. Apart from that, this is better been a snippet for customer because they can simply tailor it to the capability they're targettng than us enabling it for capabilities which will easily kill their server due to debug_backtrace() content been very long and doing the check that's not tailored to the capability been debugged where user reload the page once and then check their error log will be too expensive @stevejburge |
Beta Was this translation helpful? Give feedback.
-
OK, thanks @olatechpro. Let's leave this one open as an idea. Maybe a good solution will appear in the future |
Beta Was this translation helpful? Give feedback.
-
From a customer who is trying to set up a user account, but that user is being denied access
Can I log the permissions/decision tree around the rejection message in Capabilities? This could help us solve it a lot more quickly than trial and error.
From Kevin:
Could we output something into the UI of Capabilities?
Beta Was this translation helpful? Give feedback.
All reactions