Skip to content

policies: make policy bindings expire-able - #24116

Merged
BeryJu merged 6 commits into
mainfrom
policies/expiring-bindings
Jul 16, 2026
Merged

BeryJu merged 6 commits into
mainfrom
policies/expiring-bindings

Conversation

@BeryJu

@BeryJu BeryJu commented Jul 16, 2026

Copy link
Copy Markdown
Member

extracted from #23618

@BeryJu
BeryJu requested review from a team as code owners July 16, 2026 12:25
@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit ac2f14c
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a58cdcbdce42f0008fa5615
😎 Deploy Preview https://deploy-preview-24116--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 Jul 16, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.87179% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.79%. Comparing base (e5f84e1) to head (79685af).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/policies/engine.py 66.66% 1 Missing ⚠️
authentik/policies/models.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24116      +/-   ##
==========================================
- Coverage   92.84%   92.79%   -0.05%     
==========================================
  Files        1056     1056              
  Lines       62719    62751      +32     
  Branches      424      424              
==========================================
+ Hits        58229    58232       +3     
- Misses       4490     4519      +29     
Flag Coverage Δ
conformance 35.56% <30.76%> (-0.01%) ⬇️
e2e 40.60% <33.33%> (-0.01%) ⬇️
integration 31.54% <28.20%> (-0.49%) ⬇️
rust 0.00% <ø> (ø)
unit 92.00% <94.87%> (+<0.01%) ⬆️
unit-migrate 92.02% <94.87%> (+<0.01%) ⬆️

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

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

BeryJu added 5 commits July 16, 2026 13:57
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@github-actions

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-79685afdabcb37addf177a78189c22f778f3279a
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-79685afdabcb37addf177a78189c22f778f3279a

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

@BeryJu
BeryJu merged commit 0c237e8 into main Jul 16, 2026
123 checks passed
@BeryJu
BeryJu deleted the policies/expiring-bindings branch July 16, 2026 14:30
kensternberg-authentik added a commit that referenced this pull request Jul 18, 2026
…int/ak-progress

* web/typo/enterprise-status-card-properties: (41 commits)
  The language between licensed and isLicensed was confusing, so internally the progressBar expression uses 'allowed' for the number of licensed users, and 'licensed' for the overall state of the product.
  The severities ought to be in order, otherwise it's a mental pause.
  Another typo.
  Noticed a typo; prettier had an opinion.
  web/maint: clean-up ak-enterprise-status-card
  Some revisions to the enterprise status card.
  policies: make policy bindings expire-able (#24116)
  enterprise/endpoints/connectors/fleet: pass populate_policies (#24108)
  lifecycle/container: drop curl and runit (#24008)
  lib: move ExpiringModel to lib from core (#24109)
  web, docs, packages/*: Fix pnpm Workspace Catalogs (#23944)
  providers/oauth2: OpenID key binding support (#22590)
  core: bump github.com/go-ldap/ldap/v3 from 3.4.13 to 3.4.14 (#24088)
  core: bump uvicorn[standard] from 0.50.2 to 0.51.0 (#24089)
  core: bump coverage[toml] from 7.15.0 to 7.15.1 (#24090)
  core: bump uuid from 1.23.4 to 1.23.5 (#24091)
  core: bump json-subscriber from 0.2.8 to 0.3.0 (#24092)
  ci: bump softprops/action-gh-release from 3.0.1 to 3.0.2 (#24093)
  ci: bump actions/setup-node from 6.4.0 to 7.0.0 (#24094)
  ci: bump actions/setup-node from 6.4.0 to 7.0.0 in /.github/actions/setup (#24096)
  ...
@VicenzoVM

Copy link
Copy Markdown

Can i activate this feature trough the admin ui or only using the api @BeryJu ?

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.

3 participants