Added missing permission check

http://voolia.de/support/index.php/Thread/526/