Commit 6d2b173
Issue #2237: Cover acl update in partial payload
Add a test proving an acl carried by the partial document is kept
and merged: on update acl behaves like any other field, while the
default acl stays a creation-only concern. Correct the default-acl
test comment and drop the now-misleading acl note from the
buildBulkOperations javadoc.
Co-Authored-By: Claude Opus 4.8 from Anthropic via Claude Code1 parent 1b7852a commit 6d2b173
2 files changed
Lines changed: 14 additions & 4 deletions
File tree
- core/app/datasource/src
- main/java/io/openk9/datasource/pipeline/actor
- test/java/io/openk9/datasource/pipeline/actor
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
core/app/datasource/src/test/java/io/openk9/datasource/pipeline/actor/PartialUpdateWriterTest.java
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | | - | |
109 | | - | |
| 111 | + | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| |||
0 commit comments