 
   approve: permit 'approve apps',
 
-    success: (client, state = yes, callback)->
+    success: (client, state, callback)->
+      [callback, state] = [state, callback]  unless callback
+
+      state ?= yes
 
       JName.one {@name}, (err, jname)=>
 

    ]
    return selector

  @some_: permit 'list all apps',

    success: (client, selector, options, callback)->

      @some selector, options, callback

  @some$: permit 'list apps',

    success: (client, selector, options, callback)->

      selector  = getDefaultSelector client, selector
      options or= {}
      options.limit = Math.min(options.limit or 0, 10)

      @some selector, options, callback


      ]

    sharedMethods       :
      instance          :
        fetchRelativeReviews:
          (signature Object, Function)
        review          :
          (signature String, Function)
        delete          :
          (signature Function)
        approve         : [
          (signature Function)
          (signature Boolean, Function)
        ]

      static            :
        create          :
          (signature Object, Function)
        one             :
          (signature Object, Function)
        some            :
          (signature Object, Function)
        each            : [
          (signature Object, Function)
          (signature Object, Object, Function)
        ]

    permissions         :

