fix for create repo menu item being enabled when not authorised