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

blueprints: allow setting user's passwords from blueprints #5797

Merged
merged 1 commit into from May 29, 2023

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented May 29, 2023

Details

closes #5700

New Features

  • Allow changing the users password from blueprints

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)
  • The translation files have been updated (make i18n-extract)

If applicable

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

@BeryJu BeryJu requested a review from a team as a code owner May 29, 2023 12:07
@netlify
Copy link

netlify bot commented May 29, 2023

Deploy Preview for authentik ready!

Name Link
🔨 Latest commit 61c955f
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/64749577933af60008a060c1
😎 Deploy Preview https://deploy-preview-5797--authentik.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 site settings.

@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Patch coverage: 91.67% and no project coverage change.

Comparison is base (81c22fa) 92.63% compared to head (a7aedae) 92.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5797      +/-   ##
==========================================
- Coverage   92.63%   92.62%   -0.00%     
==========================================
  Files         547      547              
  Lines       26250    26271      +21     
==========================================
+ Hits        24315    24332      +17     
- Misses       1935     1939       +4     
Flag Coverage Δ
e2e 51.84% <29.17%> (-0.07%) ⬇️
integration 26.41% <16.67%> (-<0.01%) ⬇️
unit 89.53% <91.67%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
authentik/core/api/users.py 92.26% <88.24%> (-0.25%) ⬇️
...tik/blueprints/tests/test_v1_conditional_fields.py 100.00% <100.00%> (ø)
authentik/blueprints/v1/tasks.py 73.29% <100.00%> (ø)
authentik/core/api/tokens.py 91.77% <100.00%> (ø)

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@BeryJu BeryJu force-pushed the blueprints/support-user-password branch from 61c955f to be421be Compare May 29, 2023 12:26
@github-actions
Copy link
Contributor

github-actions bot commented May 29, 2023

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-blueprints-support-user-password-1685370680-a7aedae
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-blueprints-support-user-password-1685370680-a7aedae-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
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-blueprints-support-user-password-1685370680-a7aedae

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-blueprints-support-user-password-1685370680-a7aedae-arm64

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

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the blueprints/support-user-password branch from be421be to a7aedae Compare May 29, 2023 14:21
@BeryJu BeryJu merged commit f061981 into main May 29, 2023
55 of 57 checks passed
@BeryJu BeryJu deleted the blueprints/support-user-password branch May 29, 2023 19:28
kensternberg-authentik added a commit that referenced this pull request May 30, 2023
* main: (58 commits)
  web: bump @babel/preset-env from 7.22.2 to 7.22.4 in /web (#5808)
  web: bump @typescript-eslint/eslint-plugin from 5.59.7 to 5.59.8 in /web (#5805)
  web: bump @babel/plugin-transform-runtime from 7.22.2 to 7.22.4 in /web (#5806)
  web: bump @typescript-eslint/parser from 5.59.7 to 5.59.8 in /web (#5807)
  stages/deny: fix typos (#5800)
  core: bump coverage from 7.2.6 to 7.2.7 (#5809)
  blueprints: allow setting user's passwords from blueprints (#5797)
  providers/proxy: add support for traefik.io API and CRD (#5801)
  web: fix build (#5798)
  web/flows: fix RedirectStage not detecting absolute URLs correctly (#5781)
  lifecycle: Add depends_on for worker and server container (#5634)
  web: bump @babel/preset-env from 7.21.5 to 7.22.2 in /web (#5791)
  web: bump @babel/plugin-proposal-decorators from 7.21.0 to 7.22.3 in /web (#5787)
  web: bump @lingui/core from 4.1.2 to 4.2.0 in /web (#5782)
  website: bump postcss from 8.4.23 to 8.4.24 in /website (#5783)
  web: bump @babel/plugin-transform-runtime from 7.21.4 to 7.22.2 in /web (#5789)
  core: bump goauthentik.io/api/v3 from 3.2023051.3 to 3.2023052.1 (#5788)
  web: bump @babel/core from 7.21.8 to 7.22.1 in /web (#5790)
  web: bump yaml from 2.3.0 to 2.3.1 in /web (#5792)
  core: bump django-otp from 1.2.0 to 1.2.1 (#5794)
  ...
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.

Is there a way to load test data in docker?
1 participant