Permission control in the buttoms