Skip to content

FOUR-9398 - Hide Scripts and DataSources of PM Blocks#5025

Merged
ryancooley merged 1 commit into
developfrom
observation/FOUR-9398-b
Jul 19, 2023
Merged

FOUR-9398 - Hide Scripts and DataSources of PM Blocks#5025
ryancooley merged 1 commit into
developfrom
observation/FOUR-9398-b

Conversation

@estebangallego
Copy link
Copy Markdown
Contributor

@estebangallego estebangallego commented Jul 19, 2023

Issue & Reproduction Steps

When we create a PM Block, we need to hide all the assets linked to the PM Block. At the moment we're only hiding the Screens.

  1. Create a Process with the following: Screen, Scripts, DataSouces.
  2. Create a Pm Block from the Process.
  3. The Scripts and DataSouces created based on the Pm Block are still showing on the page related to each asset.

Solution

  • Added Scripts, DataSouces to HideSystemResources.php

How to Test

Follow the reproduction steps and check if the Screen and Scripts related to the PM Block are hidden from the page related to the asset.

Related Tickets & Packages

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.

@processmaker-sonarqube
Copy link
Copy Markdown

@estebangallego estebangallego changed the title Hide Scripts and DataSources of PM Blocks FOUR-9398 - Hide Scripts and DataSources of PM Blocks Jul 19, 2023
@ryancooley ryancooley merged commit a0d67ec into develop Jul 19, 2023
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