summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorGesa Stupperich <gesa@tailscale.com>2026-03-19 21:46:55 +0000
committerGitHub <noreply@github.com>2026-03-19 21:46:55 +0000
commitca9aa202559c9c3f94da5a4115fc6caf6c377e9f (patch)
treea4bbc533282eacdf072ea0434362c7ad43684b06 /control/controlhttp/controlhttpserver/controlhttpserver.go
parentac19bd5e7a1791af621dfd04d98f627817bbefc9 (diff)
downloadtailscale-ca9aa202559c9c3f94da5a4115fc6caf6c377e9f.tar.xz
tailscale-ca9aa202559c9c3f94da5a4115fc6caf6c377e9f.zip
ipn/ipnlocal: populate Groups field in profileFromView
This populates UserProfile.Groups in the WhoIs response from the local backend with the groups of the corresponding user in the netmap. This allows tsnet apps to see (and e.g. forward) which groups a user making a request belongs to - as long as the tsnet app runs on a node that been granted the tailscale.com/visible-groups capability via node attributes. If that's not the case or the user doesn't belong to any groups allow-listed via the node attribute, Groups won't be populated. Updates tailscale/corp#31529 Signed-off-by: Gesa Stupperich <gesa@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions