       return  unless credential
 
       credential.fetchData (err, data) =>
-        return kd.warn err  if err
+
+        if err
+          @pinWarning "You don't have access for custom variables"
+          return kd.warn err
 
         @_activeCredential = credential
 


  checkVariableChanges: ->

    content   = @getAce().getContents()
    converted = yamlToJson content, silent = yes


          else (jsonToYaml meta).content

          @getAce().setContent _.unescape content


  pinWarning: (warning) ->

    @_pinnedWarning = yes
    @indicator.setClass 'red'
    @indicator.updatePartial '!'
    @indicator.setTooltip title: warning
    @indicator.setClass 'in'
    @parent.tabHandle.setClass 'notification'
