Yii Profiling - Only Show For A Specific User

I have enabled profiling on database level in the config file like this

Is there any way to only show this for one particular user, e.g.

pretty easy - just provide your XDbConnection class which extends default one and override its init() method to set this parameter based on logged in user. Just remember to call parent one. Those are basic OOP principles…

another option: change this setting in beforeAction handler.