Added check for the site.upd permission, thereby enabling the permissions button.