 
     super options, data
 
-    @isMine = isAdmin() or isMine(stackTemplate)
+    @canRead = isAdmin() or isMine stackTemplate
 
     @setClass 'edit-mode'  if inEditMode = @getOption 'inEditMode'
 

    @tabView.on 'PaneDidShow', (pane) =>
      if pane.name is 'Credentials'
        @warningView.hide()
      unless @isMine
        if pane.name isnt 'Credentials'
          @warningView.show()



    @listenContentChanges()

    if not @canRead and stackTemplate
      @tabView.setClass 'StackEditorTabs readonly'
      @warningView.show()
      @deleteStack.hide()


  listenContentChanges: ->
