Skip to content
Snippets Groups Projects
user avatar
Braden Shepherdson authored
Some premium features (and in theory even non-premium EE features) use
parts of others, and the token might not have those other features
enabled.

This mechanism allows dynamically overriding the set of features the
token is considered to have, enabling eg. `:audit-app` code to use
`:serialization` internally even if the user's token doesn't support
`:serialization`.

```clojure
(premium-features/with-premium-feature-overiddes [:foo :bar]
  (has-feature? :foo)) ;=> true
```
793577c8
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
backend
frontend
LICENSE.txt
README.md

Metabase Enterprise Edition

License

Usage of files in this directory and its subdirectories, and of Metabase Enterprise Edition features, is subject to the Metabase Commercial License, and conditional on having a fully-paid-up license from Metabase. Access to files in this directory and its subdirectories does not constitute permission to use this code or Metabase Enterprise Edition features.

Unless otherwise noted, all files Copyright © 2022 Metabase, Inc.

Running it

Front-end

MB_EDITION=ee yarn build-hot

Clear the Webpack cache using yarn remove-webpack-cache if you previously ran OSS edition in dev mode to avoid unexpected application behavior.

Back-end

You need to add the :ee alias to the Clojure CLI command to run Metabase Enterprise Edition.

# Start a local Metabase server that includes EE sources
clojure -M:ee:run

# start a REPL that includes EE sources.
clojure -A:ee

# start a REPL that includes EE sources & test namespaces.
clojure -A:dev:ee:ee-dev