piwik/piwik — pull request #6512 by pouyana (2014-10-23 14:33:05+00:00)
Title: New Enhancement 6220

A possible solution for https://github.com/piwik/piwik/issues/6220, bear with me it is my first time writing a code for PIWIK core :D.
I added a extra function for permission check and push the system check to diagnostic as was requested.