Commit b939be2
committed
feat(utils): add GatewayAgentEnroll / GatewayAgentRead scopes + bump version
Mirrors the two new `AccessScope` variants (`gateway.agent.enroll` /
`gateway.agent.read`) on the .NET side so DVLS's `ScopeClaims` can sign
scope tokens with the canonical scope names instead of the broader
`ConfigWrite` / `DiagnosticsRead` fallbacks.
Bumps the package version to `2025.10.2-pr2-alpha1` (prerelease) so
downstream consumers can pin to this build for dev / PR validation
without clashing with the published 2025.10.1.
Adds JSON round-trip tests confirming the two new scopes serialize to
their expected `scope` field strings.1 parent b00ffbe commit b939be2
3 files changed
Lines changed: 23 additions & 1 deletion
File tree
- utils/dotnet
- Devolutions.Gateway.Utils.Tests
- Devolutions.Gateway.Utils
- src
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
159 | 179 | | |
160 | 180 | | |
161 | 181 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments