Skip to content

core: Actors - #24353

Merged
BeryJu merged 86 commits into
mainfrom
persona
Aug 3, 2026
Merged

BeryJu merged 86 commits into
mainfrom
persona

Conversation

@BeryJu

@BeryJu BeryJu commented Jul 24, 2026

Copy link
Copy Markdown
Member

non-human identities used with AI agents & other token exchange setups

BeryJu added 30 commits July 16, 2026 12:32
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]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>

# Conflicts:
#	authentik/policies/engine.py
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]>
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]>
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]>
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]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
BeryJu added 4 commits July 31, 2026 12:34
t
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@github-actions

github-actions Bot commented Jul 31, 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-4caea968fdbd11cc511c6c50adf820a31412087d
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-4caea968fdbd11cc511c6c50adf820a31412087d

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

BeryJu added 3 commits July 31, 2026 16:58
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu BeryJu changed the title enterprise: Agents core: Actors Jul 31, 2026
@BeryJu
BeryJu removed the request for review from a team August 3, 2026 10:44
BeryJu added 2 commits August 3, 2026 12:22
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Comment thread authentik/core/models.py Resolved
Comment thread authentik/core/models.py
Comment on lines +1639 to +1642
Unlike MIRROR (which defers to the parent live), COPY takes an independent snapshot at
creation: the actor holds its own PolicyBindings, so later changes to the parent don't
affect it. Only bindings that reference the parent as a *user* are copied -- access the
parent derives from group membership is not (use MIRROR, or add the actor to groups).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I feel like the part with groups will be confusing, and might cause pain for the end user.

Nonetheless, I agree with the implementation, and that this is just a documentation concern.

Comment thread authentik/policies/engine.py Outdated
_ACTOR_USER_TYPES = frozenset({UserTypes.SERVICE_ACCOUNT, UserTypes.INTERNAL_SERVICE_ACCOUNT})


def _mirror_parent(user: User) -> User | None:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
def _mirror_parent(user: User) -> User | None:
def _get_mirror_parent(user: User) -> User | None:

small nit

Co-authored-by: Marc 'risson' Schmitt <[email protected]>
Signed-off-by: Jens L. <[email protected]>
Comment thread authentik/core/models.py Fixed
Signed-off-by: Jens Langhammer <[email protected]>

@kensternberg-authentik kensternberg-authentik 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.

The one line changed has been approved.

@BeryJu
BeryJu merged commit ea2a257 into main Aug 3, 2026
236 of 239 checks passed
@BeryJu
BeryJu deleted the persona branch August 3, 2026 19:46
@BeryJu BeryJu added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Aug 3, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #24709

kensternberg-authentik added a commit that referenced this pull request Aug 3, 2026
* main:
  root: add AI_POLICY.md (#23481)
  core: Actors (#24353)
  ci: release publish: fix image attestation (cherry-pick #24706 to main) (#24707)
  stages/authenticator_validate: fix intermittnetly failing throttling test (#24568)
  ci: release publish: fix metadata parsing (cherry-pick #24703 to main) (#24704)
  website/docs: fix sidebar titles and ordering (#24051)
  ci: release publish: fix missing gh cli env var (cherry-pick #24695 to main) (#24696)
  ci: release: rename major release to release family (#24691)
  web: ensure native select popup contrast (#24622)
  web: scale small application icons (#24620)
  ci: release tag: add validation that the workflow was started on the appropriate branch (#24676)
  ci: release publish: fix missing checkout (cherry-pick #24684 to main) (#24685)
  web: contain long text in tables and application cards (#24621)
  web: hide plain action icons while loading (#24618)
  website/docs: fix brand name in google results (#24687)
  website/docs: Mark the release notes for 2026.8 as 'beta' (#24682)
BeryJu added a commit that referenced this pull request Aug 4, 2026
core: Actors (#24353)

* I think I'm happy with this structure



* fixup



* add api



* fix missing engine mode



* add ui



* pull in the requests machinery



* fixup and gen



* gen



* re-wire things up



* re-add more web stuff



* fix unrelated test issue



* fix mixin



* gen



* plumb in flows



* update ui



* initial web



* fix a couple things



* fix api tests & schema



* better pick request flow



* fix perms



* change method



* fix perms



* fix web lint



* explicit perms



* fix migrations



* concrete m2m



* fix perms



* format



* add some default config



* fix permission check -> requesting user checks against rule bindings' policies



* fix unrelated



* fix api client



* fix styling



* fix more



* add banner



* attributes mixin prep for object attrs



* fix tests



* update tests



* fix typo



* fix unrelated test failure



* ensure no self-approval



* configurable expiry



* add meta info to requestable target



* add more events



* only unique apps



* initial app card impl



* add entitlement modal



* respect filters



* re-migrate



* improve ux



* fix child bindings?



* better ux for rule bindings



* fix type check



* initial dcr



* re-migrate



* handle error



* format



* init



* rename



* rename



* self-service



* wip



* move to user view



* always expire self



* t



* format



* actor



* cleanup



* effective user early



* extract agents



* optimize



* Apply suggestion from @rissson




* fix



---------

Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens L. <[email protected]>
Co-authored-by: Jens L. <[email protected]>
Co-authored-by: Marc 'risson' Schmitt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants