Repository navigation
web/admin: restore file upload capability check - #26556
Merged
Merged
Conversation
Restore the CanSaveMedia guard removed when the upload modal switched to ModalInvokerButton. Closes: #26555
kensternberg-authentik
approved these changes
Sep 29, 2026
kensternberg-authentik
left a comment
Contributor
There was a problem hiding this comment.
Short and simple.
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
dominic-r
enabled auto-merge (squash)
September 29, 2026 22:56
❌ 2 Tests Failed:
View the top 2 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Contributor
Playwright e2eDownload this run's HTML report and traces, then open the report: gh run download 36642250964 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-reportInstallation instructionsInstructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-f44a2d04c9eb5ab5c12993f55f24e685e99ba71f
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-f44a2d04c9eb5ab5c12993f55f24e685e99ba71fAfterwards, run the upgrade commands from the latest release notes. |
Contributor
|
🍒 Cherry-pick to |
GirlBossRush
pushed a commit
that referenced
this pull request
Oct 5, 2026
…o version-2026.8) (#26564) web/admin: restore file upload capability check (#26556) Restore the CanSaveMedia guard removed when the upload modal switched to ModalInvokerButton. Closes: #26555 Co-authored-by: Dominic Roy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
What does this PR change?
Restore the
CanSaveMediacheck before showing Upload on the Files page.Why is this change needed?
Without configured file storage, the button opens a form that fails with HTTP 500. The guard added in #18646 was removed during the modal refactor in #24609. The existing storage guidance remains visible.
How was this tested?
make webpassed, including formatting, lint, Lit analysis, and TypeScript compilation. Lit analysis reported 10 warnings in unrelated files. No live browser verification was performed.Linked issues
Closes #26555. The separate storage documentation is #26557.
AI assistance: Codex investigated the history, restored the guard, and ran the checks under maintainer direction.