       instance        :
         delete        :
           (signature Function)
-        # assign        :
-        #   (signature Object, Function)
-        # unassign      :
+        share         :
+          (signature Object, Function)
+        # withold       :
         #   (signature Object, Function)
         # update        :
         #   (signature Object, Function)

      options ?= { limit : 10 }

      {delegate} = client.connection
      delegate.fetchCredentials {},
        targetOptions : {
          selector, options
        }, callback


  delete: permit



jraphical       = require 'jraphical'
JCredentialData = require './credentialdata'
JName           = require '../name'
JUser           = require '../user'
JGroup          = require '../group'

module.exports = class JCredential extends jraphical.Module

  KodingError        = require '../../error'

  {secure, ObjectId, signature, daisy} = require 'bongo'
  {Relationship}     = jraphical
  {permit}           = require '../group/permissionset'
  Validators         = require '../group/validators'
