don't show edit link on protected pages (bug 41518)

checks users permissions and sends in the configuration variable
enableEditing takes into account the value here

Change-Id: Ibfb7da75b09312e54cb131d6858ab1f010996134