Repository navigation
Commit 97fabdd
docs: correct three statements the code contradicts
TenancyDbContext said `tenants` gets no query filter. It gets one of a different
shape — self-keyed, comparing `Id` rather than a `TenantId` column — which the
self-keyed branch in TenantQueryFilters has applied since Packet 7. One of the
eight entity types genuinely gets none, not two.
permissions.md named `tenancy.tenant.admin` as the key that will govern the host
mapping, while the matrix directly above gives `HostMapping` its own resource with
no `write`. The prose now names `tenancy.hostmapping.admin` and says why the
resource is separate: pointing a hostname at a tenant is an admin-scope act, not
something the everyday tenant-admin role should carry.
ADR-0036's Decision still prints the normalization order Amendment 1 measured as
wrong — rejecting IPv4 literals before stripping a port, which lets 1.2.3.4:8080
through because TryParse fails on the port-bearing string and never runs again.
The statement was false when it entered the record, so it takes the default
instrument: an inline erratum beside it, pointing at the amendment that corrects
it. The Decision is untouched.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent cd15f22 commit 97fabdd
3 files changed
Lines changed: 22 additions & 6 deletions
File tree
- backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure/Persistence
- docs
- decisions
- modules/tenancy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
177 | 187 | | |
178 | 188 | | |
179 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments