Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enterprise/rac: fix error when listing connection tokens as non-superuser #10771

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Aug 5, 2024

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

…user

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner August 5, 2024 11:25
@BeryJu
Copy link
Member Author

BeryJu commented Aug 5, 2024

/cherry-pick version-2024.6

Copy link

netlify bot commented Aug 5, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 00df808
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/66b0b6b5660d4000092094f4

Copy link

netlify bot commented Aug 5, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 00df808
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/66b0b6b5057b8100082ba2aa

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.61%. Comparing base (2a1eaea) to head (00df808).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10771      +/-   ##
==========================================
- Coverage   92.61%   92.61%   -0.01%     
==========================================
  Files         721      721              
  Lines       35359    35361       +2     
==========================================
  Hits        32748    32748              
- Misses       2611     2613       +2     
Flag Coverage Δ
e2e 49.73% <100.00%> (+<0.01%) ⬆️
integration 25.36% <0.00%> (-0.01%) ⬇️
unit 90.04% <100.00%> (-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.

Copy link
Contributor

github-actions bot commented Aug 5, 2024

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-00df80841806d80f86f189e3b1a53a5917814a86
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-00df80841806d80f86f189e3b1a53a5917814a86-arm64
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-00df80841806d80f86f189e3b1a53a5917814a86

For arm64, use these values:

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-00df80841806d80f86f189e3b1a53a5917814a86-arm64

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

@BeryJu BeryJu merged commit 0f9459a into main Aug 5, 2024
68 checks passed
@BeryJu BeryJu deleted the enterprise/rac/fix-connection_token-error branch August 5, 2024 11:51
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Aug 5, 2024
…user (#10771)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request Aug 5, 2024
…user (cherry-pick #10771) (#10773)

enterprise/rac: fix error when listing connection tokens as non-superuser (#10771)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request Aug 5, 2024
* refs/remotes/origin/main: (37 commits)
  release: 2024.6.3
  website/docs: prepare 2024.6.3 release notes (#10775)
  website/scripts: updated readme, added docsmg.env file  (#10710)
  web: bump API Client version (#10777)
  root: fix opencontainers ref (#10776)
  core: applications api: properly select provider (#10373)
  root: remove warnings (#10774)
  enterprise/rac: fix error when listing connection tokens as non-superuser (#10771)
  core: bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 (#10754)
  core: bump goauthentik.io/api/v3 from 3.2024062.1 to 3.2024062.2 (#10753)
  core: bump golang.org/x/sync from 0.7.0 to 0.8.0 (#10755)
  web: bump the rollup group across 1 directory with 3 updates (#10756)
  web: bump core-js from 3.37.1 to 3.38.0 in /web (#10757)
  web: bump @swc/core from 1.7.4 to 1.7.6 in /web/sfe (#10758)
  web: bump rollup from 4.19.2 to 4.20.0 in /web/sfe (#10759)
  core: bump black from 24.4.2 to 24.8.0 (#10760)
  core: bump msgraph-sdk from 1.5.3 to 1.5.4 (#10761)
  core: bump coverage from 7.6.0 to 7.6.1 (#10762)
  core: bump ruff from 0.5.5 to 0.5.6 (#10763)
  core: bump django-filter from 24.2 to 24.3 (#10764)
  ...
kensternberg-authentik added a commit that referenced this pull request Aug 5, 2024
* main: (37 commits)
  release: 2024.6.3
  website/docs: prepare 2024.6.3 release notes (#10775)
  website/scripts: updated readme, added docsmg.env file  (#10710)
  web: bump API Client version (#10777)
  root: fix opencontainers ref (#10776)
  core: applications api: properly select provider (#10373)
  root: remove warnings (#10774)
  enterprise/rac: fix error when listing connection tokens as non-superuser (#10771)
  core: bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 (#10754)
  core: bump goauthentik.io/api/v3 from 3.2024062.1 to 3.2024062.2 (#10753)
  core: bump golang.org/x/sync from 0.7.0 to 0.8.0 (#10755)
  web: bump the rollup group across 1 directory with 3 updates (#10756)
  web: bump core-js from 3.37.1 to 3.38.0 in /web (#10757)
  web: bump @swc/core from 1.7.4 to 1.7.6 in /web/sfe (#10758)
  web: bump rollup from 4.19.2 to 4.20.0 in /web/sfe (#10759)
  core: bump black from 24.4.2 to 24.8.0 (#10760)
  core: bump msgraph-sdk from 1.5.3 to 1.5.4 (#10761)
  core: bump coverage from 7.6.0 to 7.6.1 (#10762)
  core: bump ruff from 0.5.5 to 0.5.6 (#10763)
  core: bump django-filter from 24.2 to 24.3 (#10764)
  ...
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