From b4a3b266b3c76cddeaeca53b21b1539167bf5ffc Mon Sep 17 00:00:00 2001 From: Jens L Date: Fri, 19 May 2023 15:54:04 +0200 Subject: [PATCH] website/docs: clarify troubleshooting headlines and order (#5696) * website/docs: clarify troubleshooting headlines and order Signed-off-by: Jens Langhammer * Update website/docs/troubleshooting/login.md Co-authored-by: Tana M Berry Signed-off-by: Jens L. --------- Signed-off-by: Jens Langhammer Signed-off-by: Jens L. Co-authored-by: Tana M Berry --- website/docs/troubleshooting/access.md | 4 +--- website/docs/troubleshooting/login.md | 2 +- website/docs/troubleshooting/missing_permission.md | 6 +++++- website/sidebars.js | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/website/docs/troubleshooting/access.md b/website/docs/troubleshooting/access.md index 60edbf6f8..b9a44b9ed 100644 --- a/website/docs/troubleshooting/access.md +++ b/website/docs/troubleshooting/access.md @@ -1,9 +1,7 @@ --- -title: Troubleshooting access problems +title: I can't access an application --- -### I get an access denied error when trying to access an application. - If your user is a superuser, or has the attribute `goauthentik.io/user/debug` set to true (can also be set on a group level): ![](./authentik_user_debug.png) diff --git a/website/docs/troubleshooting/login.md b/website/docs/troubleshooting/login.md index 7379dd6e4..488c49091 100644 --- a/website/docs/troubleshooting/login.md +++ b/website/docs/troubleshooting/login.md @@ -1,5 +1,5 @@ --- -title: Troubleshooting Login problems +title: I can't log in to authentik --- In case you can't login anymore, perhaps due to an incorrectly configured stage or a failed flow import, you can create a recovery key. diff --git a/website/docs/troubleshooting/missing_permission.md b/website/docs/troubleshooting/missing_permission.md index 27331764a..8257208d7 100644 --- a/website/docs/troubleshooting/missing_permission.md +++ b/website/docs/troubleshooting/missing_permission.md @@ -10,7 +10,11 @@ If it does, you can run the following command to ensure all permissions exist: ``` docker-compose run --rm worker repair_permissions -# Or for kubernetes +``` + +or, for Kubernetes, run + +``` kubectl exec -it deployment/authentik-worker -c authentik -- ak repair_permissions ``` diff --git a/website/sidebars.js b/website/sidebars.js index d0a63ccd2..9ad4c50d9 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -302,12 +302,12 @@ module.exports = { }, }, "troubleshooting/access", - "troubleshooting/csrf", - "troubleshooting/emails", "troubleshooting/login", "troubleshooting/image_upload", "troubleshooting/missing_permission", "troubleshooting/missing_admin_group", + "troubleshooting/csrf", + "troubleshooting/emails", "troubleshooting/ldap_source", ], },