We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e5aa16 commit 875d541Copy full SHA for 875d541
internal/api/handlers/v0/auth/dns.go
@@ -196,7 +196,9 @@ func (h *DNSAuthHandler) buildPermissions(domain string) []auth.Permission {
196
Action: auth.PermissionActionPublish,
197
ResourcePattern: fmt.Sprintf("%s/*", reverseDomain),
198
},
199
- // Grant permissions for all subdomains (e.g., com.example.*)
+ // DNS implies a hierarchy where subdomains are treated as part of the parent domain,
200
+ // therefore we grant permissions for all subdomains (e.g., com.example.*)
201
+ // This is in line with other DNS-based authentication methods e.g. ACME DNS-01 challenges
202
{
203
204
ResourcePattern: fmt.Sprintf("%s.*", reverseDomain),
0 commit comments