spring-projects / spring-projects/spring-modulith
Add option to enforce explicit module dependency declarations
@odrotbohm is already working on this.
Since Jan 10, 2025.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.