checkRoleNativeRights(role) {
    Object.keys(role.controllers).forEach((roleController) => {
      if (
        roleController !== "*" &&
        !global.kuzzle.funnel.isNativeController(roleController)
      ) {
        return;
      }

      if (roleController === "*") {
        Object.keys(role.controllers["*"].actions).forEach((action) => {
          if (action !== "*") {
            throw roleRightsError.get("unknown_action", role._id, action, "*");
          }
        });
      } else {
        const controller = global.kuzzle.funnel.controllers.get(roleController);
        const actions = Object.keys(role.controllers[roleController].actions);

        actions.forEach((action) => {
          if (action !== "*" && !controller._isAction(action)) {
            throw roleRightsError.get(
              "unknown_action",
              role._id,
              action,
              roleController,
              didYouMean(action, controller.__actions),
            );
          }
        });
      }
    });
  }
Given a Role object, checks if its controllers and actions exist.

@param {Role} role