I think I can determine the user ID or a group ID within the application and show the diagnostic info if user is in a "Developer" or "Admin" group. The problem is that real-world (outside the app) group affiliations regularly change but in-app group memberships are not well maintained.