Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Starting some docs on the maturity model

Copple4d865cc9b58a
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index bf1353c87fe..da8dae4bbbc 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -939,7 +939,11 @@ export const platform = {
name: 'Shared Responsibility Model',
url: '/guides/platform/shared-responsibility-model',
},
- { name: 'Going into Production', url: '/guides/platform/going-into-prod' },
+ {
+ name: 'Maturity Model',
+ url: '/guides/platform/maturity-model',
+ },
+ { name: 'Production Checklist', url: '/guides/platform/going-into-prod' },
],
},
{
diff --git a/apps/docs/pages/guides/platform/access-control.mdx b/apps/docs/pages/guides/platform/access-control.mdx
index b12d566cc0c..4c1788c28f9 100644
--- a/apps/docs/pages/guides/platform/access-control.mdx
+++ b/apps/docs/pages/guides/platform/access-control.mdx
@@ -36,8 +36,8 @@ If you are transferring ownership of your organization to someone else, you will
The table below shows the corresponding permissions for each available role you can assign a team member in the Dashboard.
-| Permissions | Owner | Administrator | Developer |
-| ------------------------ | ----------------------- | ----------------------- | ----------------------- |
+| Permissions | Owner | Administrator | Developer | Read only [^2] |
+| ------------------------ | ----------------------- | ----------------------- | ----------------------- | ----------------------- |
| **Organization** |
| Change organization name | <IconCheck size={14} /> | | |
| Delete organization | <IconCheck size={14} /> | | |
@@ -70,6 +70,8 @@ The table below shows the corresponding permissions for each available role you
| Pause a project | <IconCheck size={14} /> | <IconCheck size={14} /> | |
| Resume a project | <IconCheck size={14} /> | <IconCheck size={14} /> | |
| Restart a project | <IconCheck size={14} /> | <IconCheck size={14} /> | <IconCheck size={14} /> |
+| Manage tables | <IconCheck size={14} /> | <IconCheck size={14} /> | <IconCheck size={14} /> |
+| View Data | <IconCheck size={14} /> | <IconCheck size={14} /> | <IconCheck size={14} /> | <IconCheck size={14} /> |
[^1]:
Invites sent from a SSO account can only be accepted by another SSO account
@@ -77,6 +79,8 @@ The table below shows the corresponding permissions for each available role you
prevents accidental invites to accounts not managed by your company's
enterprise systems.
+[^2]: Available on the Teams and Enterprise Tiers.
+
export const Page = ({ children }) => <Layout meta={meta} children={children} />
export default Page
diff --git a/apps/docs/pages/guides/platform/going-into-prod.mdx b/apps/docs/pages/guides/platform/going-into-prod.mdx
index 1c39911aec0..7e5b95a4daa 100644
--- a/apps/docs/pages/guides/platform/going-into-prod.mdx
+++ b/apps/docs/pages/guides/platform/going-into-prod.mdx
@@ -2,7 +2,7 @@ import Layout from '~/layouts/DefaultGuideLayout'
export const meta = {
id: 'going-into-prod',
- title: 'Going into Production',
+ title: 'Production Checklist',
description: 'Things to do before making your app publicly available',
}
@@ -85,17 +85,6 @@ After developing your project and deciding it's Production Ready, you should run
- When working with enterprise systems, email scanners may scan and make a `GET` request to the reset password link or sign up link in your email. Since links in Supabase Auth are single use, a user who opens an email post-scan to click on a link will receive an error. To get around this problem,
consider altering the email template to replace the original magic link with a link to a domain you control. The domain can present the user with a "Sign-in" button which redirect the user to the original magic link URL when clicked.
-### Restricted Access Levels for Team Members
-
-As your team grows, consider the different [access levels](/docs/guides/platform/access-control) that your team requires.
-
-- Free and Pro: Supabase provides access controls within the Dashboard for Developers and Administrators.
-- Teams and Enterprise: these tiers include advanced access controls, such as read-only Dashboard roles.
-
-For a more secure setup, consider running your workload across several organizations. It's a common pattern to have a Production organization which is restricted to only those team members who are qualified to have direct access to production databases.
-
-One other small tip: the [PGAudit](/docs/guides/database/extensions/pgaudit) extension tracks changes to your database. You can use it to track schema changes.
-
## Next steps
This checklist is always growing so be sure to check back frequently, and also feel free to suggest additions and amendments by making a PR on [GitHub](https://github.com/supabase/supabase).
diff --git a/apps/docs/pages/guides/platform/maturity-model.mdx b/apps/docs/pages/guides/platform/maturity-model.mdx
new file mode 100644
index 00000000000..1b24b99d042
--- /dev/null
+++ b/apps/docs/pages/guides/platform/maturity-model.mdx
@@ -0,0 +1,50 @@
+import Layout from '~/layouts/DefaultGuideLayout'
+
+export const meta = {
+ id: 'maturity-model',
+ title: 'Maturity Model',
+ description: 'Growing with your application.',
+}
+
+Supabase is great for building something very fast _and_ for scaling up. Keep in mind however, that as your application and team grows, the practices you use for managing an application in production should not be the same as the practices you used for prototyping.
+
+## Prototyping
+
+When you are prototyping, the Dashboard we provide is a great way to build your application. We still strongly recommend using [Migrations](/docs/guides/getting-started/local-development#database-migrations) to manage your database changes.
+
+## Collaborating
+
+As soon as you start collaborating with team members, all changes should be in version control. At this point we strongly recommend moving away from using the Dashboard for making database changes. Use Migrations to manage your database, and check them into your codebase to track every change.
+
+Resources:
+
+- [Database migrations](/docs/guides/getting-started/local-development#database-migrations)
+- [PGAudit for Postgres](/docs/guides/database/extensions/pgaudit)
+
+## In Production
+
+Once your application is live, you should never change your database using the Dashboard. Read the [Production Checklist](docs/guides/platform/going-into-prod) and make sure that your organization is aware of the [Shared Responsibilities](/docs/guides/platform/shared-responsibility-model) between your organizaiton and Supabase. Supabase provides various [access levels](https://supabase.com/docs/guides/platform/access-control) for the Dashboard. You should [design a secure workflow](https://supabase.com/docs/guides/platform/shared-responsibility-model#you-decide-your-own-workflow) for managing your database.
+
+We strongly recommend running [multiple environments](/docs/guides/cli/managing-environments) as part of your development workflow (`local` -> `staging` -> `prod`).
+
+Resources:
+
+- [Database migrations](/docs/guides/getting-started/local-development#database-migrations)
+- [PGAudit for Postgres](/docs/guides/database/extensions/pgaudit)
+- [Managing environments](/docs/guides/cli/managing-environments)
+- [Access Control](/docs/guides/platform/access-control)
+
+Resources:
+
+- [Database migrations](/docs/guides/getting-started/local-development#database-migrations)
+- [PGAudit for Postgres](/docs/guides/getting-started/local-development#database-migrations)
+
+## Enterprise
+
+For a more secure setup, consider running your workload across several organizations. It's a common pattern to have a Production organization which is restricted to only those team members who are qualified to have direct access to production databases.
+
+Reach out to [[email protected]](mailto:[email protected]) if you need help designing a secure development workflow for your organization.
+
+export const Page = ({ children }) => <Layout meta={meta} children={children} />
+
+export default Page