Hide "Authorize" button for non-super-admin users
The issue was found by @slawek during 1.10 sanity checks. Source.
The users in an admin
role are not permitted to authorize machines, but the "Authorize" button is presented for them. After clicking the button, the ugly error page is presented. The "Authorize" button should be hidden for users with the admin
role.