code: function listAuthorizationsOnResources ({ userId, resources, organizationId, sourceIpAddress, sourcePort }, cb) {
        let promise = null
        if (typeof cb !== 'function') [promise, cb] = asyncify()
  
        async.waterfall([
          function validate (next) {
            Joi.validate({ userId, resources, organizationId }, validationRules.listAuthorizationsOnResources, badRequestWrap(next))
          },
          function listPolicies (result, next) {
            policyOps.listAllUserPolicies({ userId, organizationId }, badImplementationWrap(next))
          },
          function listAuthorizationsOnResources (policies, next) {
            let context = buildContext({userId, organizationId, sourceIpAddress, sourcePort})
            iam(policies).actionsOnResources({ resources, context }, badImplementationWrap(next))
          }
        ], cb)
  
        return promise
      }
docs: List all user's actions on a given list of resources
  
  @param  {Object}   options { userId, resources }
  @param  {Function} cb