Repository navigation
QuickAccess: edit a resource, and update an existing resource when a password changes - #63
Open
bartkummel wants to merge 3 commits into
Open
bartkummel wants to merge 3 commits into
bartkummel wants to merge 3 commits into
Conversation
Extract the resource edition rules of the vault so they can be reused by the QuickAccess: - load a resource with its decrypted secret, merging the custom fields; - save it like the vault edit workflow does: synchronise the keyring and take a permission snapshot before saving, only re-encrypt the secret when it changed, ask to confirm the recipients of a shared resource whose secret changed (with drift detection), set the personal flag and update the expiration date according to the password expiry settings. The vault EditResource dialog now uses the shared custom fields merge and expiration date helpers instead of its own copies. Refs community.passbolt.com/t/14934 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add an edit button on the QuickAccess resource view, for users with update or owner permission while online. - Add an edit page to change the name, URL, username and password, with the password generator following the organisation password policy. Other properties (note, TOTP, custom fields, additional URLs, icon) are kept. - Keep the current password visible and copyable while changing it, and both the previous and the new password after saving, until the user is done. - Let the user move the edit form to a separate window that does not close when switching to the website (not on Safari). - Ask to confirm the recipients before saving a new password of a shared resource, as the vault does. Refs community.passbolt.com/t/14934, /t/7589, /t/14824 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…word When the autosave prompt opens and the user can update one or more resources matching the website URL and username, offer to update it with the new password instead of creating a duplicate. The user can pick the resource when several match, or still save the credentials as a new resource. Also fix the autosave of change password forms (current, new and confirmation fields): the new password is now submitted instead of the current one. Refs PB-55116, community.passbolt.com/t/14869 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 7 tasks
|
|
Author
|
The second CLA comment is a duplicate; the license/cla check passes, so I assume it's just a glitch that the 2nd comment doesn't get updated. |
bartkummel
marked this pull request as ready for review
November 19, 2026 07:59
This branch has not been deployed
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.
QuickAccess: edit a resource, and update an existing resource when a password changes
This pull request is a (multiple allowed):
Checklist
Companion pull request on the browser extension: passbolt/passbolt_browser_extension#301
Related requests
User stories
Edit from the QuickAccess
Update an existing resource
What you did
ResourceEditService(src/shared/services/resourceEdit): loads a resource with its decrypted secret and saves it following the vault edit workflow rules: keyring synchronisation and permission snapshot before saving, secret only re-encrypted when changed, recipients confirmation with drift detection for shared resources,personalflag, password expiry. The vaultEditResourcedialog now reuses its custom fields merge and expiration date helpers instead of keeping its own copies.ResourceEditPage(QuickAccess route/resources/edit/:id) and the edit button onResourceViewPage. Only the name, main URL, username and password are editable; note, TOTP, custom fields, additional URLs and icon are kept as is.UpdateResourcein the autosave prompt, withfindUpdateCandidatesmatching on URL (CanSuggestService) and username.InFormCredentialsFormField.submittedPassword: change password forms now submit the new password.edit-resourcebootstrap feature to open the edit page in a detached window.Tests: 76 suites / 1542 tests pass for
src/react-quickaccess,src/react-web-integration,src/shared/services/resourceEditand the vault edit dialog and permission workflow. ESLint is clean. Selenium tests were not run. New strings are added toen-UKonly.Known limitations:
🤖 Generated with Claude Code