Skip to content

Commit c2c1c2b

Browse files
sampaccoudPanchoutNathan
authored andcommitted
🐛(backend) fix link definition select options linked to ancestors
We were returning too many select options for the restricted link reach: - when the "restricted" reach is an option (key present in the returned dictionary), the possible values for link roles are now always None to make it clearer that they don't matter and no select box should be shown for roles. - Never propose "restricted" as option for link reach when the ancestors already offer a public access. Indeed, restricted/editor was shown when the ancestors had public/read access. The logic was to propose editor role on more restricted reaches... but this does not make sense for restricted since the role does is not taken into account for this reach. Roles are set by each access line assign to users/teams.
1 parent c3f4728 commit c2c1c2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ and this project adheres to
113113
- 🐛(backend) race condition create doc #633
114114
- 🐛(frontend) fix breaklines in custom blocks #908
115115

116+
## Fixed
117+
118+
- 🐛(backend) fix link definition select options linked to ancestors #846
119+
116120
## [3.1.0] - 2025-04-07
117121

118122
## Added

0 commit comments

Comments
 (0)