Skip to content

Rights and contracts

Mixed license enterprise dataset: where an exclusive grant has to stop

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

A mixed license enterprise dataset can be licensed only component by component. First-party records the company holds and has never licensed for AI training can go forward; open-licensed material cannot enter an exclusive grant, because its license is non-exclusive and irrevocable; third-party and unknown-origin records stay out until a document settles them. Log each decision, its evidence and its decider, then re-run the exclusion at extraction.

License terms

Mixed license enterprise

This page covers mixed license enterprise dataset: where an exclusive grant has to stop.Illustrative

Key takeaways

  • A mixed license enterprise dataset is decided component by component; first-party records can go forward while open and third-party material is carved out or carried under its own terms.
  • Open licenses are non-exclusive and irrevocable by their own text, so an exclusive AI-training grant cannot cover open-licensed material, including code the company itself published openly.
  • In five open-core repositories with a published split, 10 of 28 license files below the root name another holder, and directories outside the literal rule still look proprietary.
  • Stripping notices, redacting text or restricting access changes visibility, not rights; unmarked material stays under default copyright.
  • Log every component decision with its evidence, decider and selector, then re-run the exclusion at extraction and reconcile record counts.

What can a company license when its data mixes open-source and proprietary material?

Only the material the company itself holds, has not already licensed to anyone for AI training, and can identify record by record. In a mixed license enterprise dataset, that usually means first-party records go forward, open-licensed and third-party components are carved out or carried under their own terms, and anything of unknown origin waits for an answer. The decision is a sort, not a verdict on the whole archive.

The sort matters more when the license is exclusive. A non-exclusive deal can sometimes pass an open component through with its notice attached; an exclusive grant promises that nobody else will get the same AI-training rights, and that promise cannot be made about material the public already holds a license to. So the first question for any supplier, legal reviewer or data owner is not whether the dataset is valuable, but which of its components the company is in a position to withhold from everyone else.

This page gives the decision record for that question: who settles each class of component, which document governs it, what evidence closes it, and how an exclusion travels from the review into the files that are actually delivered. It is general information, not legal advice; your own counsel decides the hard cases on your documents.

Why an open license and an exclusive license cannot cover the same material

Because every open license is a standing, non-exclusive grant to the public, and an exclusive grant is a promise to keep the same rights from everyone else. The two cannot sit on the same component at the same time.

The license texts say so directly. Section 2 of the Apache License 2.0 grants each recipient a "perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license". The Creative Commons BY-SA 4.0 legal code grants a "worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license", and the CC BY 4.0 legal code uses the same grant words. Irrevocable matters as much as non-exclusive: the people who already received the material keep their rights whatever the company signs later.

Open licenses also cannot fence off AI training as a field. The Open Source Initiative's annotated Open Source Definition says a license "must not restrict anyone from making use of the program in a specific field of endeavor". A company cannot promise a buyer that open-source code inside its records will stay out of other developers' training sets, because the license that lets the company use that code lets everyone else use it too.

That cuts both ways for code the company wrote itself. If it already published a component under an open license, it still owns the copyright, but it has given the world a license it cannot take back. Owned is not the same as exclusively licensable, and the matrix below treats the two as separate classes.

Where open material sits inside business records

Open material is rarely confined to a code folder. In operational records it arrives as quotations, attachments, enrichment fields and templates, often without any notice that marks it.

Common carriers are support tickets that paste passages from open-source documentation or configuration files, knowledge-base articles that embed Creative Commons images, product catalogs that reuse public reference data, and delivery or field-service tables whose addresses were geocoded against OpenStreetMap. Fonts are another: four of the five repositories counted below ship font files under the SIL Open Font License beside the product code.

Database licenses deserve their own flag because they attach to tables, not just to text. OpenStreetMap's copyright page, as published in its site source, says: "If you alter or build upon our data, you may distribute the result only under the same license." The CC BY-SA 4.0 legal code goes further for databases: if you include all or a substantial portion of a licensed database's contents in a database in which you hold sui generis database rights, your database, though not its individual contents, is Adapted Material, so the share-alike conditions follow it when it is shared. An enrichment field can therefore pull a whole internal table into a review.

For repositories specifically, the live guides on what open-source code must be excluded and on licensing data from open-source projects a company maintains already cover scanning and copyleft questions; this page does not repeat them. Its concern is the sort across every record type and the record that proves it.

Five open-core repositories: a published split still leaves residue

Even companies that mix open-source and proprietary material on purpose, and publish the dividing line, leave items their own rule does not settle. Five open-core repositories show it: each root license file states where the proprietary area begins, and each tree still holds components that need a separate answer.

PostHog, Infisical and Rocket.Chat use the same three-part wording: content under a named ee directory takes the company's enterprise license, "All third party components" keep "the original license provided by the owner of the applicable component", and the rest is MIT. The wording matches, but the rule does not: PostHog's covers the ee/ directory, Infisical's covers any ee/ directory, and Rocket.Chat's names two paths. Metabase draws its line at the top-level enterprise directory; Mattermost licenses four named paths under Apache 2.0 and the rest of its source under AGPL v3.0 or a commercial license, with its Source Available License file kept in server/enterprise.

The residue takes four forms. Third-party components the root file mentions but never lists: 10 of the 28 license files below the root name a holder other than the repository's owner, such as the two Apache 2.0 database drivers inside Metabase's AGPL area that name ClickHouse, Inc. and Starburst, Inc. Directories that look proprietary but sit outside the literal rule: Rocket.Chat's packages/core-typings/src/ee holds 2 files that neither named path covers, and Mattermost keeps 150 files in three other directories named enterprise. Pointers that do not resolve: Infisical's root file refers to "ee/LICENSE", but at this commit the license sits at backend/src/ee/LICENSE.md and its second ee directory has none. And non-code assets, such as fonts, under licenses of their own. Vendor folders add one more signal: PostHog keeps 13 files in four directories named vendor, and the other four trees have none under the directory names counted.

None of this suggests these projects are careless; their split is clearer than most private archives will ever be. The point is that a single line, however well drawn, does not classify every component, and a company with no written line at all starts further back. The counts, dated to each commit, are below.

Five open-core repositories: a published split still leaves residue
Repository (commit date)Line drawn in the root licenseFiles at that commitIn the proprietary areaLeft for a reviewer
PostHog (2026-10-28)The ee/ directory; third-party components keep their own license; MIT elsewhere62,311844 (1.4%)4 license files naming other holders, in vendored actions and a vendored library
Infisical (2026-10-27)Any ee/ directory, under the license in ee/LICENSE; MIT elsewhere15,5721,063 (6.8%) in 2 ee directoriesNamed license path does not resolve; one ee directory holds no license file
Rocket.Chat (2026-10-27)apps/meteor/ee/ and ee/; MIT elsewhere13,523967 (7.2%)2 files in a third ee directory outside both paths; 1 font license under SIL OFL
Metabase (2026-10-28)Top-level enterprise/ under a commercial license, unless otherwise noted; AGPL elsewhere23,3173,338 (14.3%)2 Apache 2.0 driver modules from other holders inside the AGPL area
Mattermost (2026-10-27)Apache 2.0 for four named paths; AGPL v3.0 or commercial elsewhere; Source Available License file in server/enterprise16,54661 (0.4%); Apache paths hold 9,785 (59.1%)150 files in 3 other directories named enterprise; 4 font licenses under SIL OFL
Five scorecard tiles, one per open-core repository, showing the share of files in each proprietary area, from Metabase at 14.3 percent to Mattermost at 0.4 percent, with what each root license rule leaves for a reviewer beneath the figure.
Share of files inside each repository's proprietary area at one commit, with the residue its root license rule leaves open. Source: the five repositories, counted 2026-10-28.

A permission matrix for each component class

Sort every component into one of six classes before anyone discusses price or scope, because each class has a different owner of the answer and a different default. A class is decided by evidence of origin, not by where a file happens to sit or what a folder is called.

The defaults below are starting positions for a review, not legal conclusions. Counsel can move a component out of its default when the documents support it, and the move goes in the log.

A permission matrix for each component class
Component classTypical example in business recordsWhat the company can grantEvidence that settles the classDefault treatment in delivery
First-party, never publishedTickets, notes and code written by employees or assigned contractorsCan be offered for an exclusive AI-training license if no earlier grant existsEmployment or assignment terms; system authorship; a check of earlier licensesIncluded, subject to privacy and confidentiality review
First-party, already published under an open licenseThe company's own open-source module, or docs released under CC BYOwned, but already licensed to the public; exclusivity cannot attachRelease history and the license file shipped with itExcluded from the exclusive scope; counsel decides any non-exclusive use
Third-party, permissive licenseVendored MIT or Apache 2.0 code, OFL fonts, CC BY imagesNothing beyond the open license the company itself receivedThe upstream license text and noticeExcluded, or passed through only if the deal allows non-exclusive items with notices kept
Third-party, share-alike or database licenseOpenStreetMap-derived fields, CC BY-SA text, copyleft codeNothing exclusive; share-alike terms may follow any table or file built from itLicense version, how much was taken, how it was mergedExcluded, including the derived fields, unless counsel clears a narrower route
Third-party, proprietaryVendor SDKs, licensed reference data, client deliverablesOnly what the vendor or client contract allows, which is rarely AI trainingThe contract itself and any written consentExcluded unless written permission names the use
Origin unknownUnattributed snippets, inherited archives, files with no noticeNothing until the origin is knownSearch for the source; history; ask the authorHeld out until settled; never assumed first-party

Does stripping notices or locking down access change who holds the rights?

No. Removing a notice, redacting a passage or restricting who can open a folder changes what people can see, not who holds the rights in it.

Open licenses make the notice part of the deal. Section 4 of the Apache License 2.0 conditions redistribution on giving recipients a copy of the license and keeping the required notices, so stripping a header removes the evidence of the obligation while the obligation stays. Silence does not help either: GitHub's documentation on licensing a repository explains that without a license, the default copyright laws apply, meaning that the author retains all rights. An unmarked file is not a free file.

Administrative access is the other false comfort. Being able to export a system does not mean the company holds the rights to everything inside it, and de-identification answers a privacy question, not an ownership one. A single license label on an archive is weak evidence for the same reason: the open-core counts above show that even a carefully written top-level rule leaves components it does not classify.

The review log that settles each component

Keep one log entry per component decision, written so that someone who was not in the room can see who decided, on what evidence, and what happened to the records. The log is the deliverable of the review; the matrix only tells you which questions to ask.

At a glance

The review log that settles each component

Each entry should hold these fields:

  • Component identifier: the path, table and field, or record selector that finds every affected record, plus the record count at the snapshot date.
  • Class from the matrix, and the evidence of origin that put it there (license file, commit, contract clause, author statement).
  • Governing document, with version and date, quoted where the decision turns on its wording.
  • Decision: include in the exclusive scope, exclude, pass through non-exclusively with notices, or hold.
  • Decider, by role (data owner, legal reviewer, outside counsel) and the date decided.
  • Residue checks run for this component: same-named folders outside the rule, notices naming other holders, references to license files that do not exist, derived fields built from it.
  • Delivery effect: the exclusion rule as executed at extraction, record counts before and after, and where the excluded records went.
  • Open questions, with an owner and the event that would reopen the decision.

Carrying the exclusions from the decision into the delivered dataset

An exclusion is only real if it is re-run at extraction and checked against the delivered files. Decide the rule in the log, express it as a selector the extraction can execute, and record what it removed.

Path rules alone fail in exactly the ways the open-core counts show, so pair each rule with checks for its residue: search for directories with the same name outside the rule, for license or notice files below the root, and for license files the rule refers to that do not exist. For tables, follow derived fields back to their source: a geocode, a normalized company name or a category taken from an open database carries that database's terms with it.

Reconcile counts at every step. The log records how many records each rule touched at the snapshot; the extraction report should show the same rule removing the same records, and any difference reopens the entry. Keep a manifest of what was excluded and why, separate from the delivered dataset, so a later question can be answered without re-running the review.

What the sort decides in a SourceX deal

The sort belongs before signature in SourceX's process, because the Dataset Deal Confirmation fixes the exact dataset before SourceX presents the opportunity externally, and a material change later needs a signed amendment. A rights check runs during qualification and inventory, and nothing is licensed until the company approves the scope and terms and signs.

Two things on SourceX's live pages make the open components decisive. Licenses are exclusive for AI training, so the selected records must be ones the company can promise no one else will receive for that purpose; and the company confirms that the data has not already been licensed for AI training. Open-licensed material fails the first test by its nature, because its license is non-exclusive and irrevocable; whether a public license also counts as an earlier AI-training license under the second is a question for your counsel. Either way, the matrix defaults it out of the exclusive scope. You also choose what is in scope, so a mixed archive is not disqualified; it is narrowed.

The company keeps ownership of its original data. SourceX's how-it-works page also notes that, under the signed agreement, SourceX owns the de-identified dataset subject to the supplier's underlying intellectual property rights. SourceX asks structured questions but does not give legal advice, so the log, and your counsel's view on the hard classes, are what make the scope defensible.

To see whether a dataset is worth sorting, start with the short company assessment; no data upload is needed. An assessment is not an offer, and it does not promise any payout.

Methods note: how the open-core repositories were counted

The open-core counts come from shallow, blob-less git clones of PostHog/posthog (commit 9d62385bcb51d51e8784d0db0a671a17c7b8979c), Infisical/infisical (dbac9d761d65455ca893f214a2dfd6a780cab166), RocketChat/Rocket.Chat (acca9a3dee16d6ed4acbe2380fe8062c2e9754d2), metabase/metabase (420052473c082c5dd8388f7966e453c5cc2cc216) and mattermost/mattermost (7709b2f9a5b6739be5580218780740c54b210577), read on 2026-10-28 with git ls-tree and git show. No code from the repositories was run. The scripts, opencore_split.py and opencore_split_v2.py (which adds the font-license count), and their outputs are kept for a recount.

A file is any tree entry of type blob at the commit, including symlinks (66 in PostHog, 140 in Rocket.Chat, 1 in Mattermost); gitlinks are skipped. The proprietary area is each root license's path rule applied literally: paths starting ee/ (PostHog); any directory segment equal to ee (Infisical); paths starting apps/meteor/ee/ or ee/ (Rocket.Chat); paths starting enterprise/ (Metabase); paths starting server/enterprise/ (Mattermost), the directory holding the Source Available License file that Mattermost's root LICENSE.enterprise link points to. Mattermost's Apache count covers paths starting server/templates/, server/i18n/, server/public/ or webapp/. Same-named directories are directories named like the repository's own proprietary directory, case-insensitively (ee for PostHog, Infisical and Rocket.Chat; enterprise for Metabase and Mattermost), that the literal rule does not cover. Vendor directories are segments named vendor, vendored, third_party, third-party, thirdparty or 3rdparty, case-insensitively.

License files are files below the root whose name, case-insensitively, is LICENSE, LICENCE, COPYING or NOTICE, optionally plural and optionally followed by a hyphen, underscore or dot and more text, with no extension or a .txt, .md, .markdown or .rst extension; a candidate is kept only if its text, read with any byte-order mark ignored, contains license, licence, copyright or permission. Two Mattermost public-key text files were dropped by that content test, and source files such as license.go were dropped by the extension rule; the script prints both lists. A holder line is a line that starts, after any leading spaces, with copyright followed within 12 characters by (c), the copyright sign or a digit, case-insensitively; lines naming the Free Software Foundation or containing [yyyy], {yyyy}, <year> or name of copyright owner are ignored. A file names another holder when it has holder lines and none contains the owner's name (posthog, infisical, rocket.chat, metabase or mattermost, case-insensitively). License families come from the first matching text marker, case-insensitively, in this order: enterprise license, enterprise edition (EE) license, commercial license, source available license or subscription terms of service; GNU Affero, Lesser or General Public License; Mozilla Public License; Apache License; SIL Open Font License; permission is hereby granted, free of charge (MIT-style); BSD, ISC, Creative Commons and public-domain wording. Font licenses are counted apart from that rule, because files named OFL.txt do not match it: a file below the root counts when its name starts with OFL or it is a kept license file, and its text contains SIL Open Font License.

Not measured: in-file license headers inside source files, copied snippets without notices, git history, generated code, and whether any component is in fact used under the terms its files state. The counts describe the trees at those commits only and say nothing about the projects' legal positions.

Frequently asked questions

Can open-source material ever be part of an exclusive AI training license?

Not as part of the exclusive grant. Open licenses such as Apache 2.0 and CC BY-SA 4.0 are non-exclusive and irrevocable, so everyone who received the material keeps their rights. Whether an open component can travel alongside an exclusive deal as a non-exclusive item with its notices kept is a question for your counsel and the deal terms.

Is a share-alike or database license inside a table harder to handle than permissive code?

Usually, yes. Share-alike terms can follow whatever is built from the material, and the CC BY-SA 4.0 legal code treats a database that includes a substantial portion of a licensed database's contents as Adapted Material. A single enrichment field can therefore bring a whole table into review, so trace derived fields to their source.

Who should decide how a mixed component is classified?

The data owner assembles the evidence of origin, a legal reviewer applies the governing document, and outside counsel takes anything that turns on contested wording or jurisdiction. Record the decider and the date in the log, so the decision can be checked later by someone who was not involved.

What should happen to records whose origin nobody knows?

Hold them out until the origin is known. Under GitHub's documentation on licensing, material without a license stays under default copyright, with all rights retained by the author, so an unmarked file is not free to license. Search for the source, check the history, and ask the author before treating anything as first-party.

Does a mixed dataset rule a company out of licensing through SourceX?

No. You choose what is in scope, and the rights check exists to narrow a mixed archive to records the company can license. The selected records have to be ones that have not already been licensed for AI training, and, because licenses are exclusive for AI training, ones the company can promise no one else will receive for that purpose.

Sources

  • The Apache License 2.0 grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license (Section 2) and conditions redistribution on passing on the license and keeping notices (Section 4). Source
  • The Creative Commons BY-SA 4.0 legal code grants a non-exclusive, irrevocable license and, in Section 4, treats a database that includes a substantial portion of licensed database contents as Adapted Material. Source
  • The Open Source Initiative's annotated Open Source Definition says a license must not restrict anyone from making use of the program in a specific field of endeavor. Source
  • OpenStreetMap's copyright page text, in its website source, says data altered or built upon may be distributed only under the same license (ODbL). Source
  • GitHub's documentation says that without a license, default copyright laws apply and the author retains all rights. Source
  • PostHog's root license places the ee/ directory under its enterprise license, keeps third-party components under their original licenses and puts the rest under MIT. Source
  • Infisical's root license places any ee/ directory under the license in ee/LICENSE and the rest under MIT. Source
  • Rocket.Chat's root license places apps/meteor/ee/ and ee/ under its EE license and the rest under MIT. Source
  • Metabase's LICENSE.txt places the top-level enterprise directory under the Metabase Commercial License, unless otherwise noted, and other source under the AGPL. Source
  • Mattermost's LICENSE.txt licenses four named paths under Apache 2.0 and other source under AGPL v3.0 or a commercial license. Source
  • SourceX's how-it-works page describes the rights check, the Dataset Deal Confirmation that fixes the exact dataset, exclusivity for AI training and what the supplier confirms. Source
  • SourceX's FAQ says it asks structured questions without giving legal advice and that the company chooses what is in scope. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies