added permission check for view log
requested push
Merge remote-tracking branch 'origin/master'