docs: public void checkRole(CmsRequestContext context, CmsRole role) throws CmsRoleViolationException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              checkRole(dbc, role);
          } finally {
              dbc.clear();
          }
      }