spring-projects / spring-projects/spring-modulith

Add option to enforce explicit module dependency declarations

Open
#994 1 comment 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Jan 10, 2025.

in: core type: enhancement
Dominant language
Java
Stars
1.2k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

Discussed in https://github.com/spring-projects/spring-modulith/discussions/923

Originally posted by ghferrari November 4th, 2024
First of all, thanks to the Spring Modulith team for this great package. :-)

If I've understood the documentation for version 1.2.5, Spring Modulith currently uses an “allow-by-default” access model i.e. access to other modules is allowed unless explicitly restricted. Is there a way to switch to a "deny-by-default” permission model? In this scenario, access to other modules would be forbidden by default unless specifically granted? I think this would be a useful feature.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.