   @create: permit 'create kite',
     success:(client, formData, callback)->
       kite = new JKite formData
+      kite.kiteCode = createId()
       kite.save (err)->
         return  callback new KodingError "kite couldn't saved" if err
         account = client.connection.delegate

    schema                :
      name                : String
      description         : String
      createdAt           :
        type              : Date
        default           : -> new Date

  {permit}            = require './group/permissionset'
  {signature}         = require 'bongo'
  {Relationship}      = jraphical
  { v4: createId }    = require 'node-uuid'

  @trait __dirname, '../traits/protected'

