Design a system such that google developer gets access to user's data for fixing the bug in the app.
It should be a generic System which works for multiple app.
Example - User reported an issue in gmail app. To debug, developer need access to particaular user's data. How should user grant access & developer gets access to his data.