Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

fix: missing password modal on link type change - #10690

Merged
JammingBen merged 1 commit into
masterfrom
fix-missing-password-modal
Apr 2, 2024
Merged

JammingBen merged 1 commit into
masterfrom
fix-missing-password-modal

Conversation

@JammingBen

@JammingBen JammingBen commented Mar 28, 2024 •

Copy link
Copy Markdown
Contributor

Description

Fixes an issue where the password modal was missing when link passwords are enforced and the type of a link changes from internal (or viewer for admins) to anything other.

This was a bit tricky because we first need to add the password to a link and then update its role. The most elegant way of doing this (at least what I found) was by adding a callback function to the password modal component.

Regression of #10433.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Mar 28, 2024
@update-docs

update-docs Bot commented Mar 28, 2024

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@JammingBen JammingBen mentioned this pull request Mar 28, 2024
30 of 40 tasks
Fixes an issue where the password modal was missing when link passwords are enforced and the type of a link changes from internal to anything other.
@JammingBen
JammingBen force-pushed the fix-missing-password-modal branch from 6557afa to 3f160e9 Compare April 2, 2024 07:39
@sonarqubecloud

sonarqubecloud Bot commented Apr 2, 2024

Copy link
Copy Markdown

@JammingBen
JammingBen marked this pull request as ready for review April 2, 2024 08:29
@JammingBen
JammingBen requested review from dschmidt and kulmann April 2, 2024 08:31
@JammingBen
JammingBen merged commit 7a78e3c into master Apr 2, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the fix-missing-password-modal branch April 2, 2024 11:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants