Jordi Gutiérrez Hermoso
54502280de
(core) AdminPanel: hide the enterprise toggle in core and grist-ee images
...
Summary:
In the pure OSS `grist-oss` image, the `ActivationPage` module from
stubs is used, as the `ext` code is completely missing. We can easily
just always return `false` here.
In the case when the `ext` directory exists, this may mean we're in
the standard `grist` image or the `grist-ee` image. The latter is
distinguished by having `GRIST_FORCE_ENABLE_ENTERPRISE` so we check if
that's on, and hide the toggle accordingly if so.
Test Plan:
Use these changes to build the three Docker images
(`grist-oss`, `grist`, and `grist-ee`) and verify that only `grist`
shows the toggle.
Reviewers: jarek
Reviewed By: jarek
Subscribers: jarek
Differential Revision: https://phab.getgrist.com/D4321
2024-08-19 15:51:24 -04:00
..
2024-08-08 15:35:37 -04:00
2022-07-19 11:55:18 -04:00
2023-07-01 21:07:39 -04:00
2023-05-23 15:17:28 -04:00
2024-08-13 12:34:08 -04:00
2024-03-21 13:01:25 -04:00
2024-07-05 16:02:39 +02:00
2023-09-04 09:21:18 -04:00
2024-02-12 11:06:52 -05:00
2024-07-05 16:02:39 +02:00
2024-07-28 18:52:39 -04:00
2024-08-08 15:35:37 -04:00
2020-07-21 20:39:10 -04:00
2024-07-05 16:02:39 +02:00
2024-08-15 17:32:44 -04:00
2024-07-30 13:41:47 -04:00
2024-07-30 13:41:47 -04:00
2024-08-14 14:33:06 -04:00
2024-07-08 15:40:45 +01:00
2024-07-08 15:40:45 +01:00
2023-07-10 06:24:55 -04:00
2024-07-28 18:52:39 -04:00
2024-05-23 23:07:46 +01:00
2023-11-27 10:47:56 -05:00
2022-05-18 20:28:25 +02:00
2024-07-23 11:49:23 -04:00
2023-12-01 09:42:00 -05:00
2024-07-05 16:02:39 +02:00
2020-07-21 20:39:10 -04:00
2024-03-20 10:57:21 -04:00
2024-01-23 08:09:20 -05:00
2023-05-12 11:38:29 -04:00
2023-09-04 09:21:18 -04:00
2024-07-09 12:19:25 +02:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2024-07-05 16:02:39 +02:00
2024-04-04 10:25:42 -04:00
2024-05-14 12:58:41 -04:00
2023-05-08 10:39:01 +02:00
2024-08-13 12:34:08 -04:00
2024-05-22 14:56:53 +02:00
2024-03-20 10:57:21 -04:00
2023-11-17 17:45:15 +02:00
2023-09-09 14:50:32 -04:00
2023-10-11 17:36:58 -04:00
2024-07-10 14:28:20 -04:00
2024-07-05 16:02:39 +02:00
2020-07-21 20:39:10 -04:00
2021-04-29 08:56:54 -04:00
2024-08-08 15:35:37 -04:00
2023-11-07 16:30:49 -05:00
2023-09-05 14:27:35 -04:00
2023-09-05 14:27:35 -04:00
2022-12-01 12:23:19 +01:00
2024-07-24 11:41:50 -04:00
2024-07-08 15:40:45 +01:00
2024-03-28 13:22:20 -04:00
2024-06-25 15:43:25 -04:00
2024-07-23 11:49:23 -04:00
2024-08-15 17:32:44 -04:00
2022-05-12 14:43:21 +02:00
2023-07-04 17:36:59 -04:00
2020-09-18 16:31:29 -04:00
2024-07-05 16:02:39 +02:00
2024-07-09 12:19:25 +02:00
2022-06-17 21:53:20 +02:00
2022-08-23 10:30:52 -07:00
2020-10-30 13:52:46 -04:00
2024-07-28 18:52:39 -04:00
2024-07-09 12:19:25 +02:00
2023-02-20 22:46:36 -05:00
2020-07-23 11:29:05 -04:00
2024-04-12 16:04:37 -04:00
2024-04-03 09:50:17 +02:00
2024-07-05 16:02:39 +02:00
2024-04-29 20:52:39 -04:00
2022-07-29 11:19:26 -04:00
2024-05-14 12:58:41 -04:00
2024-05-14 12:58:41 -04:00
2023-04-03 13:29:35 -04:00
2022-07-04 10:42:40 -04:00
2023-10-27 17:00:10 -04:00
2023-08-07 11:28:31 -04:00
2023-02-13 15:52:17 -05:00
2024-06-03 15:20:10 +00:00
2024-04-29 20:52:39 -04:00
2024-04-29 20:52:39 -04:00
2024-08-08 15:35:37 -04:00
2023-05-08 18:25:27 -04:00
2024-06-04 06:56:55 -07:00
2022-04-01 15:24:19 -07:00
2024-07-08 15:40:45 +01:00
2023-11-28 09:28:15 -05:00
2023-11-28 09:28:15 -05:00
2023-11-01 10:49:33 -04:00
2023-05-17 10:21:53 -04:00
2022-07-04 10:42:40 -04:00
2023-07-30 15:13:43 -04:00
2024-07-05 16:02:39 +02:00
2022-12-22 09:10:30 -05:00
2022-09-02 16:27:34 +02:00
2023-10-18 10:52:58 -04:00
2023-10-11 17:36:58 -04:00
2023-07-18 11:21:25 -04:00
2024-08-19 15:51:24 -04:00
2024-05-22 14:56:53 +02:00
2022-06-07 15:47:17 -04:00
2024-02-15 10:49:01 -05:00
2022-06-07 15:47:17 -04:00
2024-01-08 09:19:50 -05:00
2020-07-21 20:39:10 -04:00
2024-03-18 09:49:42 -04:00
2023-09-04 09:21:18 -04:00
2023-09-04 09:21:18 -04:00
2023-09-04 09:21:18 -04:00
2024-01-29 10:08:19 -05:00
2020-07-21 20:39:10 -04:00
2024-07-05 16:02:39 +02:00
2024-05-14 12:58:41 -04:00
2024-07-05 16:02:39 +02:00
2022-08-25 12:38:36 -07:00
2023-05-08 18:25:27 -04:00
2024-07-04 14:17:10 +02:00
2022-07-04 10:42:40 -04:00
2024-06-27 12:05:15 +02:00
2024-05-14 12:58:41 -04:00
2023-12-05 11:51:22 -05:00
2023-05-23 15:17:28 -04:00
2023-10-15 20:17:43 -04:00