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
2024-08-13 12:34:08 -04:00
2024-03-21 13:01:25 -04:00
2024-07-05 16:02:39 +02: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
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
2024-07-28 18:52:39 -04:00
2024-05-23 23:07:46 +01:00
2023-11-27 10:47:56 -05: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
2024-07-09 12:19:25 +02: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
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
2024-08-08 15:35:37 -04:00
2023-11-07 16:30:49 -05: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
2024-07-05 16:02:39 +02:00
2024-07-09 12:19:25 +02:00
2024-07-28 18:52:39 -04:00
2024-07-09 12:19:25 +02: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
2024-05-14 12:58:41 -04:00
2024-05-14 12:58:41 -04:00
2023-10-27 17:00:10 -04: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
2024-06-04 06:56:55 -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
2024-07-05 16:02:39 +02:00
2023-10-18 10:52:58 -04:00
2023-10-11 17:36:58 -04:00
2024-08-19 15:51:24 -04:00
2024-05-22 14:56:53 +02:00
2024-02-15 10:49:01 -05:00
2024-01-08 09:19:50 -05:00
2024-03-18 09:49:42 -04:00
2024-01-29 10:08:19 -05: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
2024-07-04 14:17:10 +02: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-10-15 20:17:43 -04:00