     templates = templates.filter (t) -> t.accessLevel is 'group'
 
     reactor.dispatch actions.LOAD_TEAM_STACK_TEMPLATES_SUCCESS, { query, templates }
+
+
+loadPrivateStackTemplates = ->
+
+  { reactor } = kd.singletons
+
+  query = { group: getGroup().slug, originId: whoami()._id }
+
+  reactor.dispatch actions.LOAD_PRIVATE_STACK_TEMPLATES_BEGIN, { query }
+
+  remote.api.JStackTemplate.some query, { limit: 30 }, (err, templates) ->
+
+    if err
+      reactor.dispatch actions.LOAD_PRIVATE_STACK_TEMPLATES_FAIL, { query, err }
+
+    templates = templates.filter (t) -> t.accessLevel is 'private'
+
+    reactor.dispatch actions.LOAD_PRIVATE_STACK_TEMPLATES_SUCCESS, { query, templates }
 
 
 module.exports = {

showError               = require 'app/util/showError'
toImmutable             = require 'app/util/toImmutable'
getGroup                = require 'app/util/getGroup'
environmentDataProvider = require 'app/userenvironmentdataprovider'



  dispatchCollaborationInvitationRejected
  dispatchSharedVMInvitationRejected
  loadTeamStackTemplates
  loadPrivateStackTemplates
}
