resource-permissions

for managing permissions

permissions

for managing permissions

properties

methods

for managing permissions

  • id

    • type : any
  • accountID

    • type : string

    • default : my title

    • key : account

    • description : the account to apply permission to

  • event

    • type : string

    • description : the link to the permissions on a third party site

    • format : permissions

create a new permissions

  • options

    • type : object

    • properties

      • id

        • type : any
      • accountID

        • type : string

        • default : my title

        • key : account

        • description : the account to apply permission to

      • event

        • type : string

        • description : the link to the permissions on a third party site

        • format : permissions

  • callback

    • type : function

get permissions by id

  • id

    • type : any

    • description : the id of the object

    • required : true

  • callback

    • type : function

search for instances of permissions

  • options

    • type : object

    • properties

      • id

        • type : any

        • default :

        • required : false

      • accountID

        • type : any

        • default :

        • key : account

        • description : the account to apply permission to

        • required : false

      • event

        • type : any

        • description : the link to the permissions on a third party site

        • default :

        • required : false

  • callback

    • type : function

gets all instances of permissions

  • callback

    • type : function

updates a permissions by id

  • options

    • type : object

    • properties

      • id

        • type : any
      • accountID

        • type : string

        • default : my title

        • key : account

        • description : the account to apply permission to

      • event

        • type : string

        • description : the link to the permissions on a third party site

        • format : permissions

  • callback

    • type : function

updates a permissions by id, and creates if necessary

  • options

    • type : object

    • properties

      • id

        • type : any
      • accountID

        • type : string

        • default : my title

        • key : account

        • description : the account to apply permission to

      • event

        • type : string

        • description : the link to the permissions on a third party site

        • format : permissions

  • callback

    • type : function

destroys a permissions by id

  • id

    • type : string

    • description : the id of the object

    • required : true

  • callback

    • type : function

README auto-generated with docs