code: protected void checkPermissionsForMassEdit(CmsObject cms) throws CmsException {
  
          OpenCms.getRoleManager().checkRoleForResource(cms, CmsRole.ADMINISTRATOR, "/");
      }
docs: Checks whether the current user has the permissions to mass edit the alias table, and throws an
  exception otherwise.<p>
  
  @param cms the current CMS context
  
  @throws CmsException