docs: public void unsubscribeAllResourcesFor(CmsRequestContext context, String poolName, CmsPrincipal principal)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              m_driverManager.unsubscribeAllResourcesFor(dbc, poolName, principal);
          } catch (Exception e) {
              if (principal instanceof CmsUser) {
                  dbc.report(
                      null,
                      Messages.get().container(Messages.ERR_UNSUBSCRIBE_ALL_RESOURCES_USER_1, principal.getName()),
                      e);
              } else {
                  dbc.report(
                      null,
                      Messages.get().container(Messages.ERR_UNSUBSCRIBE_ALL_RESOURCES_GROUP_1, principal.getName()),
                      e);
              }
          } finally {
              dbc.clear();
          }
      }