Hide buttons if the user is not allowed to use them.
Merge branch 'hide_buttons' into develop