code: function accessControlOwn (accessControl) {
      // if session has accessId set and it is used for model then use it
      if (defined(this.session.accessId) && this.session.accessIdName === this.model.accessIdName) {
          // add access id to args
          this.args.accessIdName = this.session.accessIdName
          this.args.accessId = this.session.accessId
      }
      // otherwise try account id
      else if (defined(this.session.accountId) && this.model.defaultColumnsInverse.accountId) {
          // add access id to args
          this.args.accessIdName = 'accountId'
          this.args.accessId = this.session.accountId
      }
      // otherwise deny access because no access id available
      else {
          httpError(403, null, accessControl.audit)
      }
  }
docs: @function accessControlOwn
  
  add access control args for queries where scope is own
  
  @param {ImmutableAccessControl} accessControl
  
  @throws {Error}