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

FOUR-18064 Encrypted Field in the Screen Builder #1705

Merged
merged 7 commits into from
Oct 9, 2024

Conversation

julceslauhub
Copy link
Contributor

Issue & Reproduction Steps

Describe the issue this ticket solves and describe how to reproduce the issue (please attach any fixtures used to reproduce the issue).

Solution

Implemented new attribute for "line input" fields called "Encrypted"

How to Test

  • Implemented new attribute for "line input" fields called "Encrypted"
  • When this new attribute is enabled the designer can assigne users and/or groups
  • These users/groups can encrypt/decrypt data
  • When the field is rendered a new button will be displayed
  • This buttons display the labels "Conceal" or "Reveal" depending the data status
  • The first time when the data was not previously conceladed the data is displayed plain
  • After click in "Conceal" data is encrypted and an UUID is returned
  • This UUID is stored in the request data
  • When the data is already concealed the "Reveal" label is displayed in the button
  • Whe users clicks in the button the data is decrypted

Related Tickets & Packages

https://processmaker.atlassian.net/browse/FOUR-18064

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

Copy link

cypress bot commented Sep 18, 2024

screen-builder    Run #1469

Run Properties:  status check passed Passed #1469  •  git commit 85cdc2540a: FOUR-18064 Encrypted Field in the Screen Builder
Project screen-builder
Run status status check passed Passed #1469
Run duration 07m 34s
Commit git commit 85cdc2540a: FOUR-18064 Encrypted Field in the Screen Builder
Committer julceslauhub
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 19
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 296

@caleeli caleeli changed the base branch from next to release-2024-fall October 9, 2024 16:52
@ryancooley ryancooley merged commit c0e2210 into release-2024-fall Oct 9, 2024
14 checks passed
@ryancooley ryancooley deleted the feature/FOUR-18064 branch October 9, 2024 19:00
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.

3 participants