Skip to content

rbac: guard for non-existent object in object permission API (cherry-pick #25601 to version-2026.8) - #25674

Merged
gergosimonyi merged 1 commit into
version-2026.8from
cherry-pick/25601-to-version-2026.8
Sep 2, 2026
Merged

gergosimonyi merged 1 commit into
version-2026.8from
cherry-pick/25601-to-version-2026.8

Conversation

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

Cherry-pick of #25601 to version-2026.8 branch.

Original PR: #25601
Original Author: @gergosimonyi
Cherry-picked commit: 9a1bd39

* relocate serializers

* guard for non-existent object
@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit a2c33ba
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a97da20efbe6c0008708a8c
😎 Deploy Preview https://deploy-preview-25674--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.

@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit a2c33ba
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a97da209f11da0008b2cefe
😎 Deploy Preview https://deploy-preview-25674--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.

@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.18182% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.67%. Comparing base (a0d9cd2) to head (a2c33ba).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/rbac/api/rbac_assigned_by_roles.py 97.14% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2026.8   #25674      +/-   ##
==================================================
+ Coverage           91.53%   91.67%   +0.13%     
==================================================
  Files                1152     1152              
  Lines               73301    73328      +27     
  Branches             4054     4054              
==================================================
+ Hits                67097    67220     +123     
+ Misses               6162     6066      -96     
  Partials               42       42              
Flag Coverage Δ
conformance 34.46% <25.45%> (-0.02%) ⬇️
e2e 39.11% <25.45%> (+0.53%) ⬆️
integration 31.05% <25.45%> (-0.02%) ⬇️
rust 42.92% <ø> (ø)
unit 93.21% <98.18%> (+<0.01%) ⬆️
unit-migrate 93.23% <98.18%> (+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.

@github-actions

github-actions Bot commented Sep 2, 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-a2c33ba96cb94f64c09d0f080aceb6917f173a98
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-a2c33ba96cb94f64c09d0f080aceb6917f173a98

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

@gergosimonyi
gergosimonyi merged commit 84f6462 into version-2026.8 Sep 2, 2026
138 checks passed
@gergosimonyi
gergosimonyi deleted the cherry-pick/25601-to-version-2026.8 branch September 2, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant