Skip to content

Module files action group is accessible from the theme context #1010

Closed
@bohdan-harniuk

Description

@bohdan-harniuk

Describe the bug (*)

We can access the Module files action group from the theme context.

To Reproduce (*)

Steps to reproduce the behavior:

  1. Go to any custom theme in the app/design/
  2. Click on the any folder in the theme or even outer of it
  3. The New Magento 2 module action is available here
  4. Create new module in the theme
  5. All context actions are available here

Expected behavior (*)

  • There is no possibility to create a new Magento 2 module outer of the app/code directory.
  • There is no possibility to see any context actions in the module inside a theme (because such modules should not be there)

Screenshots

Screenshot 2022-02-18 at 16 56 27

Screenshot 2022-02-18 at 16 58 18

Please complete the following information: (*)

  • OS: Any
  • PhpStorm/Intellij version: Any
  • Plugin Version: Any

Additional context

@Iamwade, thank you for reporting this issue.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions