Files
nairobi/app/models
Javi Martín a71f4d87f8 Add an interface to manage tenants
Note we aren't allowing to delete a tenant because it would delete all
its data, so this action is a very dangerous one. We might need to add a
warning when creating a tenant, indicating the tenant cannot be
destroyed. We can also add an action to delete a tenant which forces the
admin to write the name of the tenant before deleting it and with a big
warning about the danger of this operation.

For now, we're letting administrators of the "main" (default) tenant to
create other tenants. However, we're only allowing to manage tenants
when the multitenancy configuration option is enabled. This way the
interface won't get in the way on single-tenant applications.

We've thought about creating a new role to manage tenants or a new URL
out of the admin area. We aren't doing so for simplicity purposes and
because we want to keep CONSUL working the same way it has for
single-tenant installations, but we might change it in the future.
There's also the fact that by default we create one user with a known
password, and if by default we create a new role and a new user to
handle tenants, the chances of people forgetting to change the password
of one of these users increases dramatically, particularly if they
aren't using multitenancy.
2022-11-09 18:19:20 +01:00
..
2021-08-16 16:31:04 +02:00
2021-03-02 13:15:15 +01:00
2021-10-01 16:19:10 +02:00
2022-08-24 14:33:02 +02:00
2021-12-30 15:50:02 +01:00
2021-04-08 17:23:30 +02:00
2022-08-23 14:30:38 +02:00
2019-03-27 15:22:14 +01:00
2021-12-30 14:45:48 +01:00
2022-08-24 14:33:02 +02:00
2021-04-13 13:52:18 +02:00
2019-10-23 14:39:31 +02:00
2022-08-24 14:36:49 +02:00
2019-03-14 17:25:43 +01:00
2019-04-29 13:08:43 -05:00
2020-12-02 12:13:02 +01:00
2021-08-16 16:31:04 +02:00
2021-08-16 16:31:04 +02:00
2021-08-16 16:31:04 +02:00
2022-11-09 18:19:20 +01:00
2019-10-25 19:29:12 +02:00
2022-10-18 10:38:59 +02:00
2017-12-15 19:21:02 +01:00
2021-01-12 14:50:37 +01:00