code: protected void initialize(CmsObject cms) throws CmsRoleViolationException {
  
          checkFrozen();
          // check if the user has the required permissions
          OpenCms.getRoleManager().checkRole(cms, CmsRole.DATABASE_MANAGER);
  
          m_frozen = true;
          m_resources = Collections.unmodifiableList(m_resources);
          m_excluderesources = Collections.unmodifiableList(m_excluderesources);
      }
docs: Initializes this module, also freezing the module configuration.<p>
  
  @param cms an initialized OpenCms user context
  
  @throws CmsRoleViolationException if the given users does not have the <code>{@link CmsRole#DATABASE_MANAGER}</code> role