Skip to content

policies: use flow planner directly in PolicyAccessView to directly set flow context#18372

Merged
BeryJu merged 7 commits intomainfrom
policies/pav-direct-flow-planner
Nov 25, 2025
Merged

policies: use flow planner directly in PolicyAccessView to directly set flow context#18372
BeryJu merged 7 commits intomainfrom
policies/pav-direct-flow-planner

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Nov 25, 2025

#6954

allows us to move more stuff out of the session and into the flow context

@BeryJu BeryJu requested a review from a team as a code owner November 25, 2025 17:56
@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 754de6d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69262bf098cca10008364ce1

@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 754de6d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69262bf00fd3c50008795809

@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for authentik-integrations canceled.

Name Link
🔨 Latest commit 754de6d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69262bf09a2a930008d10bcf

…et flow context

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 95.32710% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.98%. Comparing base (40b6f4a) to head (754de6d).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/policies/tests/test_views.py 95.38% 3 Missing ⚠️
authentik/policies/views.py 92.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18372      +/-   ##
==========================================
+ Coverage   92.71%   92.98%   +0.27%     
==========================================
  Files         894      894              
  Lines       48923    49011      +88     
==========================================
+ Hits        45359    45574     +215     
+ Misses       3564     3437     -127     
Flag Coverage Δ
e2e 45.30% <32.71%> (+0.64%) ⬆️
integration 23.12% <4.67%> (-0.03%) ⬇️
unit 91.12% <94.39%> (+0.01%) ⬆️
unit-migrate 91.17% <94.39%> (+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.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the policies/pav-direct-flow-planner branch from 693d1b3 to 405e3ab Compare November 25, 2025 18:19
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

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-754de6d6259e48c304ea5eb9b30ec313f738c231
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-754de6d6259e48c304ea5eb9b30ec313f738c231

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

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu merged commit 5739d26 into main Nov 25, 2025
173 of 177 checks passed
@BeryJu BeryJu deleted the policies/pav-direct-flow-planner branch November 25, 2025 23:20
kensternberg-authentik added a commit that referenced this pull request Dec 11, 2025
* main: (58 commits)
  core: bump goauthentik.io/api/v3 from 3.2025120.5 to 3.2025120.7 (#18381)
  web/admin: add entitlement search (#18291)
  core: bump goauthentik/fips-debian from `8b7e8d0` to `8c4ec98` (#18361)
  website: bump the build group in /website with 3 updates (#18382)
  core: bump astral-sh/uv from 0.9.11 to 0.9.12 (#18383)
  root: improve testing helpers (#18379)
  website: bump the goauthentik group across 1 directory with 4 updates (#18378)
  website: bump the eslint group in /website with 3 updates (#18356)
  policies: use flow planner directly in PolicyAccessView to directly set flow context (#18372)
  providers/scim: fix PATCH for AWS (#18230)
  enterprise/providers/scim: fix OAuth (#18358)
  web: Fix stale table rows (#17940)
  web: Bump packages. (#18371)
  *: convert slugfields to textfields (#17411)
  outposts: set container healthcheck inline (#18298)
  web:  ESLint Typing Fixes  (#18362)
  core: bump golang.org/x/crypto from 0.43.0 to 0.45.0 (#18275)
  lifecycle/aws: bump aws-cdk from 2.1032.0 to 2.1033.0 in /lifecycle/aws (#18278)
  core: bump github.com/getsentry/sentry-go from 0.38.0 to 0.39.0 (#18353)
  ci: bump actions/setup-python from 6.0.0 to 6.1.0 in /.github/actions/setup (#18360)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant