how can I permanently hide the infobar(yellow window at the top)

I need to disable the infobar from showing up(I know I can close it by clicking X, but I need that it never shows up).
Specifically I need to disable the message that I can check out document when I use the cmis connecton to repository
(I do this for Alfresco repository via addon,
So is it possible to configure somewhere that the infobar messages don’t show up?