-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db6ceb5
commit 954e3cb
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: 0.17 | ||
displayed_sidebar: releaseNotesSidebar | ||
--- | ||
|
||
## Version 0.17 | ||
|
||
## Version 0.17 | ||
|
||
The algorithm for dependency rules has been updated, which may introduce breaking changes. | ||
|
||
When a module attempts to access another module, the following steps are executed to determine if the access is allowed: | ||
|
||
- Sheriff retrieves the tags for both modules. | ||
- For each tag in the "from" module, Sheriff checks if it has clearance to access the corresponding tag in the "to" module. | ||
|
||
```mermaid | ||
stateDiagram-v2 | ||
[*] --> RequestAccessToModule | ||
RequestAccessToModule --> GetFromAndToTags | ||
GetFromAndToTags --> IterateOverFromTags | ||
IterateOverFromTags --> HasFromTagAccessToAnyToTag | ||
HasFromTagAccessToAnyToTag --> AccessDenied: No | ||
HasFromTagAccessToAnyToTag --> MoreFromTagsAvailable: Yes | ||
MoreFromTagsAvailable --> AccessGranted: No | ||
MoreFromTagsAvailable --> IterateOverFromTags: Yes | ||
AccessGranted --> [*] | ||
AccessDenied --> [*] | ||
``` | ||
|
||
For more information, see the [dependency rules documentation](../dependency-rules). | ||
|
||
:::note | ||
|
||
It is very likely that most applications will not be affected by this change. However, if you encounter issues, please file a bug report. | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters