Commit 37438e7
committed
Explain why the permission check stays at the HTTP layer
Motivation:
It was asked during the review why the permission check of the secret
regeneration is not performed inside the content transformer.
Modifications:
- Add a comment that the metadata layer is caller-agnostic and the permission
is checked at the HTTP layer like the other endpoints.
Result:
- No behavior change.1 parent 4546802 commit 37438e7
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- server/src/main/java/com/linecorp/centraldogma/server/internal/api/sysadmin
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| |||
0 commit comments