Skip to content

ak-platform-authz: use a separate polkit action for each operation - #1751

Draft
emilburzo wants to merge 1 commit into
mainfrom
agent-pass-operation
Draft

emilburzo wants to merge 1 commit into
mainfrom
agent-pass-operation

Conversation

@emilburzo

@emilburzo emilburzo commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Closes #1752

just a concept for now, not tested

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 42.85714% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.62%. Comparing base (2da9d52) to head (33383b2).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
ak-platform-authz/src/lib.rs 0.00% 10 Missing ⚠️
ak-platform-authz/src/sys/linux.rs 81.81% 4 Missing ⚠️
ak-platform-authz/src/sys/mod.rs 0.00% 4 Missing ⚠️
ak-platform-authz/src/grpc.rs 0.00% 3 Missing ⚠️
ak-agent/src/ssh/txn.rs 0.00% 1 Missing ⚠️
ak-platform-authz/src/sys/macos.rs 0.00% 1 Missing ⚠️
ak-platform-authz/src/sys/windows.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1751      +/-   ##
==========================================
- Coverage   50.02%   46.62%   -3.41%     
==========================================
  Files         211      207       -4     
  Lines       22212    17387    -4825     
  Branches    16934    16656     -278     
==========================================
- Hits        11111     8106    -3005     
+ Misses      10711     8841    -1870     
- Partials      390      440      +50     
Flag Coverage Δ
rs-e2e-24.04 ?
rs-e2e-25.10 ?
rs-e2e-26.04 ?
rs-macos-26-ak-agent 38.78% <0.00%> (-1.58%) ⬇️
rs-macos-26-ak-agent-desktop 0.38% <0.00%> (-0.01%) ⬇️
rs-macos-26-ak-api-cli 100.00% <ø> (ø)
rs-macos-26-ak-api-cli-gen 66.71% <ø> (ø)
rs-macos-26-ak-browser-support 23.68% <ø> (ø)
rs-macos-26-ak-cli 19.18% <ø> (ø)
rs-macos-26-ak-flow-executor 13.07% <ø> (ø)
rs-macos-26-ak-meta 0.00% <ø> (ø)
rs-macos-26-ak-meta-macros 0.00% <ø> (ø)
rs-macos-26-ak-platform 67.42% <ø> (ø)
rs-macos-26-ak-platform-authz 0.00% <0.00%> (ø)
rs-macos-26-ak-platform-facts 81.40% <ø> (ø)
rs-macos-26-ak-platform-keyring 65.64% <ø> (ø)
rs-macos-26-ak-sysd 38.53% <ø> (ø)
rs-ubuntu-26.04-ak-agent 40.35% <0.00%> (ø)
rs-ubuntu-26.04-ak-agent-desktop 0.38% <0.00%> (-0.01%) ⬇️
rs-ubuntu-26.04-ak-api-cli 100.00% <ø> (ø)
rs-ubuntu-26.04-ak-api-cli-gen 66.71% <ø> (ø)
rs-ubuntu-26.04-ak-browser-support 23.68% <ø> (ø)
rs-ubuntu-26.04-ak-cli 19.18% <ø> (ø)
rs-ubuntu-26.04-ak-flow-executor 13.07% <ø> (ø)
rs-ubuntu-26.04-ak-meta 0.00% <ø> (ø)
rs-ubuntu-26.04-ak-meta-macros 0.00% <ø> (ø)
rs-ubuntu-26.04-ak-nss 77.37% <ø> (ø)
rs-ubuntu-26.04-ak-pam 0.00% <ø> (ø)
rs-ubuntu-26.04-ak-platform 67.23% <ø> (ø)
rs-ubuntu-26.04-ak-platform-authz 13.04% <48.64%> (+13.04%) ⬆️
rs-ubuntu-26.04-ak-platform-facts 80.78% <ø> (ø)
rs-ubuntu-26.04-ak-platform-keyring 53.08% <ø> (ø)
rs-ubuntu-26.04-ak-sysd 37.17% <ø> (ø)
rs-ubuntu-26.04-arm-ak-agent 38.78% <0.00%> (-1.58%) ⬇️
rs-ubuntu-26.04-arm-ak-agent-desktop 0.38% <0.00%> (-0.01%) ⬇️
rs-ubuntu-26.04-arm-ak-api-cli 100.00% <ø> (ø)
rs-ubuntu-26.04-arm-ak-api-cli-gen 66.71% <ø> (ø)
rs-ubuntu-26.04-arm-ak-browser-support 23.68% <ø> (ø)
rs-ubuntu-26.04-arm-ak-cli 19.18% <ø> (ø)
rs-ubuntu-26.04-arm-ak-flow-executor 13.07% <ø> (ø)
rs-ubuntu-26.04-arm-ak-meta 0.00% <ø> (ø)
rs-ubuntu-26.04-arm-ak-meta-macros 0.00% <ø> (ø)
rs-ubuntu-26.04-arm-ak-nss 77.37% <ø> (ø)
rs-ubuntu-26.04-arm-ak-pam 0.00% <ø> (ø)
rs-ubuntu-26.04-arm-ak-platform 67.23% <ø> (ø)
rs-ubuntu-26.04-arm-ak-platform-authz 13.04% <48.64%> (+13.04%) ⬆️
rs-ubuntu-26.04-arm-ak-platform-facts 80.78% <ø> (ø)
rs-ubuntu-26.04-arm-ak-platform-keyring 53.08% <ø> (ø)
rs-ubuntu-26.04-arm-ak-sysd 37.17% <ø> (ø)
rs-windows-2025-ak-agent 37.13% <0.00%> (+1.63%) ⬆️
rs-windows-2025-ak-agent-desktop 0.37% <0.00%> (-0.01%) ⬇️
rs-windows-2025-ak-api-cli 100.00% <ø> (ø)
rs-windows-2025-ak-api-cli-gen 66.71% <ø> (ø)
rs-windows-2025-ak-browser-support 23.68% <ø> (ø)
rs-windows-2025-ak-cli 19.18% <ø> (ø)
rs-windows-2025-ak-flow-executor 13.07% <ø> (ø)
rs-windows-2025-ak-meta 0.00% <ø> (ø)
rs-windows-2025-ak-meta-macros 0.00% <ø> (ø)
rs-windows-2025-ak-platform 63.34% <ø> (-0.05%) ⬇️
rs-windows-2025-ak-platform-authz 0.00% <0.00%> (ø)
rs-windows-2025-ak-platform-facts 78.89% <ø> (+0.22%) ⬆️
rs-windows-2025-ak-platform-keyring 76.25% <ø> (ø)
rs-windows-2025-ak-sysd 36.09% <ø> (ø)
rs-windows-2025-ee/wcp 44.30% <ø> (ø)
swift 3.00% <ø> (ø)

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.

@authentik-automation

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-1751--authentik-pkg.netlify.app

@authentik-automation
authentik-automation Bot temporarily deployed to pull request October 22, 2026 17:23 Inactive

This branch was previously deployed

1 inactive deployment
pull request — 33383b21 Deployed Oct 22, 2026 by authentik-automation[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

ak-platform-authz: use a separate polkit action for each operation

1 participant