Skip to content

providers/ldap: fix global search_full_directory permission not being sufficient - #12028

Merged
BeryJu merged 2 commits into
mainfrom
providers/ldap/fix-global-search_full_directory-perm
Nov 14, 2024
Merged

BeryJu merged 2 commits into
mainfrom
providers/ldap/fix-global-search_full_directory-perm

Conversation

@BeryJu

@BeryJu BeryJu commented Nov 14, 2024

Copy link
Copy Markdown
Member

Details

closes #11548


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)

@BeryJu
BeryJu requested a review from a team as a code owner November 14, 2024 17:38
@netlify

netlify Bot commented Nov 14, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 0adb02c
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/673635e437140b0008240f80

@netlify

netlify Bot commented Nov 14, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 0adb02c
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/673635e4ea071000082ac2bb

Signed-off-by: Jens Langhammer <[email protected]>
@codecov

codecov Bot commented Nov 14, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.59%. Comparing base (bcb91d2) to head (0adb02c).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12028      +/-   ##
==========================================
- Coverage   92.66%   92.59%   -0.08%     
==========================================
  Files         761      761              
  Lines       37863    37863              
==========================================
- Hits        35085    35058      -27     
- Misses       2778     2805      +27     
Flag Coverage Δ
e2e 49.16% <ø> (-0.11%) ⬇️
integration 24.90% <ø> (ø)
unit 90.16% <ø> (-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.

@BeryJu

BeryJu commented Nov 14, 2024

Copy link
Copy Markdown
Member Author

/cherry-pick version-2024.10

@github-actions

github-actions Bot commented Nov 14, 2024 •

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-0adb02cc245b8cc5bf192cd6246f8ad3454cd2ef
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-0adb02cc245b8cc5bf192cd6246f8ad3454cd2ef-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-0adb02cc245b8cc5bf192cd6246f8ad3454cd2ef

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-0adb02cc245b8cc5bf192cd6246f8ad3454cd2ef-arm64

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

@BeryJu
BeryJu merged commit c9036f8 into main Nov 14, 2024
@BeryJu
BeryJu deleted the providers/ldap/fix-global-search_full_directory-perm branch November 14, 2024 18:45
gcp-cherry-pick-bot Bot pushed a commit that referenced this pull request Nov 14, 2024
… sufficient (#12028)

* providers/ldap: fix global search_full_directory permission not being sufficient

Signed-off-by: Jens Langhammer <[email protected]>

* use full name of permission

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
kensternberg-authentik added a commit that referenced this pull request Nov 14, 2024
* main:
  providers/ldap: fix global search_full_directory permission not being sufficient (#12028)
  website/docs: 2024.10.2 release notes (#12025)
  lifecycle: fix ak exit status not being passed (#12024)
  core: use versioned_script for path only (#12003)
  core, web: update translations (#12020)
  core: bump google-api-python-client from 2.152.0 to 2.153.0 (#12021)
  providers/oauth2: fix manual device code entry (#12017)
  crypto: validate that generated certificate's name is unique (#12015)
  core, web: update translations (#12006)
  core: bump google-api-python-client from 2.151.0 to 2.152.0 (#12007)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#12011)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#12010)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#12012)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#12013)
  providers/proxy: fix Issuer when AUTHENTIK_HOST_BROWSER is set (#11968)
  website/docs: move S3 ad GeoIP to System Management/Operations (#11998)
  website/integrations: nextcloud: add SSE warning (#11976)
kensternberg-authentik added a commit that referenced this pull request Nov 14, 2024
* main:
  providers/ldap: fix global search_full_directory permission not being sufficient (#12028)
  website/docs: 2024.10.2 release notes (#12025)
  lifecycle: fix ak exit status not being passed (#12024)
  core: use versioned_script for path only (#12003)
  core, web: update translations (#12020)
  core: bump google-api-python-client from 2.152.0 to 2.153.0 (#12021)
  providers/oauth2: fix manual device code entry (#12017)
  crypto: validate that generated certificate's name is unique (#12015)
  core, web: update translations (#12006)
  core: bump google-api-python-client from 2.151.0 to 2.152.0 (#12007)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#12011)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#12010)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#12012)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#12013)
  providers/proxy: fix Issuer when AUTHENTIK_HOST_BROWSER is set (#11968)
  website/docs: move S3 ad GeoIP to System Management/Operations (#11998)
  website/integrations: nextcloud: add SSE warning (#11976)
BeryJu added a commit that referenced this pull request Nov 15, 2024
… sufficient (cherry-pick #12028) (#12030)

providers/ldap: fix global search_full_directory permission not being sufficient (#12028)

* providers/ldap: fix global search_full_directory permission not being sufficient



* use full name of permission



---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
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.

"Search full LDAP directory" doesn't actually work

1 participant