Skip to content

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

docs: fix broken urls (#21892)

Isaac Qadri7ec29d8b84da
diff --git a/apps/docs/content/guides/auth/custom-claims-and-role-based-access-control-rbac.mdx b/apps/docs/content/guides/auth/custom-claims-and-role-based-access-control-rbac.mdx
index c05f611a926..9697e315275 100644
--- a/apps/docs/content/guides/auth/custom-claims-and-role-based-access-control-rbac.mdx
+++ b/apps/docs/content/guides/auth/custom-claims-and-role-based-access-control-rbac.mdx
@@ -18,9 +18,9 @@ Custom Claims are special attributes attached to a user that you can use to cont
}
```
-To implement Role-Based Access Control (RBAC) with `custom claims`, use a [Custom Access Token Auth Hook](/guides/auth/auth-hooks#hook-custom-access-token). This hook runs before a token is issued. You can use it to add additional claims to the user's JWT.
+To implement Role-Based Access Control (RBAC) with `custom claims`, use a [Custom Access Token Auth Hook](/docs/guides/auth/auth-hooks#hook-custom-access-token). This hook runs before a token is issued. You can use it to add additional claims to the user's JWT.
-This guide uses the [Slack Clone example](https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone) to demonstrate how to add a `user_role` claim and use it in your [Row Level Security (RLS) policies](/guides/auth/row-level-security).
+This guide uses the [Slack Clone example](https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone) to demonstrate how to add a `user_role` claim and use it in your [Row Level Security (RLS) policies](/docs/guides/auth/row-level-security).
## Create a table to track user roles and permissions
@@ -206,7 +206,7 @@ When developing locally, follow the [local development](/docs/guides/auth/auth-h
<Admonition type="note">
-To learn more about Auth Hooks, see the [Auth Hooks docs](/guides/auth/auth-hooks).
+To learn more about Auth Hooks, see the [Auth Hooks docs](/docs/guides/auth/auth-hooks).
</Admonition>
@@ -236,7 +236,7 @@ $$ language plpgsql security definer set search_path = public;
<Admonition type="note">
-You can read more about using functions in RLS policies in the [RLS guide](/guides/auth/row-level-security#using-functions).
+You can read more about using functions in RLS policies in the [RLS guide](/docs/guides/auth/row-level-security#using-functions).
</Admonition>
@@ -272,7 +272,7 @@ You now have a robust system in place to manage user roles and permissions withi
## More resources
-- [Auth Hooks](/guides/auth/auth-hooks)
-- [Row Level Security](/guides/auth/row-level-security)
-- [RLS Functions](/guides/auth/row-level-security#using-functions)
+- [Auth Hooks](/docs/guides/auth/auth-hooks)
+- [Row Level Security](/docs/guides/auth/row-level-security)
+- [RLS Functions](/docs/guides/auth/row-level-security#using-functions)
- [Next.js Slack Clone Example](https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone)