       # { permission: 'delete provisioner' }
     ]
 
-    success: (client, callback)-> @remove callback
+    success: (client, callback) -> @remove callback
 
 
   setAccess: permit


  @create = permit 'create provisioner',

    success: (client, data, callback)->

      {delegate} = client.connection

      checkData delegate, data, (err, data)->

        if err? then return callback err

        data.group = client.context.group

        provisioner = new JProvisioner data
        provisioner.save (err)->

          return callback err  if err
          callback null, provisioner


  someHelper = (client, selector, options, callback)->

    [options, callback] = [callback, options]  unless callback
    options ?= {}

            content = { script: content.script }

        else
          err = 'Type is not supported for now.'

    err = new KodingError err  if err?
    return [err, content, contentSum]


  checkSlug = (slug, callback) ->

    JProvisioner.count { slug }, (err, res) ->
      return callback err  if err?
      if not res? or res > 0
      then callback new KodingError \
