Skip to content

website/docs: Reorganize policy documentation - #21133

Merged
dominic-r merged 5 commits into
mainfrom
sdko/policy-docs-reorg
Apr 16, 2026
Merged

dominic-r merged 5 commits into
mainfrom
sdko/policy-docs-reorg

Conversation

@dominic-r

@dominic-r dominic-r commented Mar 25, 2026 •

Copy link
Copy Markdown
Member

This PR reorganizes the policy documentation in a type-based structure. It separates policy concepts, procedural guidance, and expression-policy reference material (so the section is easier to navigate and maintain.)

  • Moved expression policy content from customize/policies/expression/* into customize/policies/types/expression/*.
  • Added or expanded policy type pages for event matcher, GeoIP, password, password expiry, password uniqueness, and reputation.
  • Split policy guidance so bindings.md focuses on evaluation and binding behavior, while working_with_policies.md stays procedural.
  • Moved expression reference partials under expressions/reference/.

@dominic-r dominic-r self-assigned this Mar 25, 2026
@dominic-r
dominic-r requested a review from a team as a code owner March 25, 2026 01:26
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Mar 25, 2026
@netlify

netlify Bot commented Mar 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit c946566
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69debb9881ea2d00089564b6
😎 Deploy Preview https://deploy-preview-21133--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Mar 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c946566
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69debb981239cb000867e1f7
😎 Deploy Preview https://deploy-preview-21133--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Mar 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.29%. Comparing base (26bfb6e) to head (c946566).
⚠️ Report is 16 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21133      +/-   ##
==========================================
- Coverage   92.30%   92.29%   -0.02%     
==========================================
  Files        1032     1032              
  Lines       59767    59767              
  Branches     2537     2537              
==========================================
- Hits        55168    55162       -6     
- Misses       4536     4540       +4     
- Partials       63       65       +2     
Flag Coverage Δ
conformance 36.98% <ø> (+<0.01%) ⬆️
e2e 42.89% <ø> (-0.03%) ⬇️
integration 33.92% <ø> (+<0.01%) ⬆️
rust 60.50% <ø> (-0.08%) ⬇️
unit 91.92% <ø> (+<0.01%) ⬆️
unit-migrate 92.01% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dominic-r
dominic-r requested a review from tanberry March 25, 2026 01:59
@github-actions

github-actions Bot commented Mar 25, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-0b2b1c8cbaf3a5a2ea962123df4ac2d77549d44d
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-0b2b1c8cbaf3a5a2ea962123df4ac2d77549d44d

Afterwards, run the upgrade commands from the latest release notes.

@tanberry

tanberry commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

@dominic-r please add a description for this PR, as we discussed... a simple formula for a good description is to 1) list what changes you made, and 2) explain why, what is the benefit of the change or what was the problem you are fixing.

@tanberry

tanberry commented Apr 1, 2026 •

Copy link
Copy Markdown
Contributor

Ah, ok, as I work through this I am seeing the changes that are very good; as I told you I was certain there would be some. Absolutely solid and good changes.

But there are some things we need to work on... for example, the title of a page needs to indicate clearly whether it is a conceptual topic or a procedural topic... I now see that the new page you created, called "Policy Bindings and Evaluation" is what replaces the current topic "Working with policies". In the new page, you have mixed a lot of conceptual (and some reference) content in with the procedural. That's what we don't want... we want the reader who is seeking the exact steps to completinga task to be able to easily find Step #1 and not have to wade through conceptual info first.

So as a solution, let's remove the conceptual section ("What a binding does") from that page, and keep the original title of "Working with polices" (this section is also about how to create a policy, not just about bindings). Readers scan titles.. the term "Working" tells thenm that this is a procedural topic.

As long as the content is not redundant, you could add the "What a binding does" content to the "authentik bindings" overview topic, where we already cover policy bindings. (add-secure-apps/bindings-overview/#policy-bindings).

@dominic-r
dominic-r force-pushed the sdko/policy-docs-reorg branch 2 times, most recently from bebfbe7 to a343af5 Compare April 13, 2026 22:56
@dominic-r
dominic-r requested a review from tanberry April 13, 2026 22:58

@dewi-tik dewi-tik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First pass

@netlify

netlify Bot commented Apr 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit c946566
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69debb987866ed0007285f7e
😎 Deploy Preview https://deploy-preview-21133--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dominic-r
dominic-r requested a review from tanberry April 14, 2026 22:08
@dominic-r
dominic-r requested a review from dewi-tik April 14, 2026 22:08
@dominic-r
dominic-r force-pushed the sdko/policy-docs-reorg branch from 0b2b1c8 to c946566 Compare April 14, 2026 22:11
@tanberry

Copy link
Copy Markdown
Contributor

This is looking really good, @dominic-r . Please add back the original wording about binding to a stage binding, then scan for any other edits by Dewi or me, and I am ready to approve this. Thanks again for doing this!

@tanberry tanberry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @dominic-r for this work, and @dewi-tik for the excellent edits!

@dominic-r
dominic-r merged commit 404570a into main Apr 16, 2026
109 checks passed
@dominic-r
dominic-r deleted the sdko/policy-docs-reorg branch April 16, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants