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

fix: missing password modal on link type change #10690

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Mar 28, 2024

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
Copy link

update-docs bot commented Mar 28, 2024

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
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
Copy link

sonarqubecloud bot commented Apr 2, 2024

@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
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix-missing-password-modal branch April 2, 2024 11:54
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.

2 participants