View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
10214Feature requestsPluginspublic2016-01-08 17:56
ReporterDenisChenu Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary10214: Debug mode : a settoings : only for admin
Description

Actually, we have debug mode activated for all : admin or not. I like to have a way to:

  • See log for admin user only (tracevar)
  • See PHP notice for admin user only
  • See log for super-admin user only (tracevar)
  • See PHP notice for super-admin user only
Additional Information

Just an idea when looking at forum : some user don't want to sert debug mode , even temporally if there are active survey.

ANd remind i like to have tracevar only for me (in some of my plugin i use if(User=="me") tracevar(); )

The tracevar system is easy.
The Notice is less easy (we set YII_DEBUG before get the user (and it's OK). Maybe replace some default function from Yii, or use ini_set after user validation.

TagsNo tags attached.
Bug heat0
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-01-08 17:56 DenisChenu New Issue