code: function handlePermissions(options) {
              return canThis(options.context).edit.user(options.data.password[0].user_id).then(() => {
                  return options;
              }).catch((err) => {
                  return Promise.reject(new common.errors.NoPermissionError({
                      err: err,
                      context: common.i18n.t('errors.api.users.noPermissionToChangeUsersPwd')
                  }));
              });
          }
docs: ### Handle Permissions
  We need to be an authorised user to perform this action
  @param {Object} options
  @returns {Object} options