mirror of https://github.com/hashicorp/boundary
fix(targets): Support authorize session request with target name (#3252)
For requests to the target authorize session endpoint we support passing
a target name instead of an id. This means that `req.GetId()` might not
be the target's public id. Since the first thing authorize session does
includes retrieving the target as part of the authorization checks, this
subtype check can leverage the public id of the target instead of using
the request.
Fixes: 6178dd516e
pull/3254/head
parent
4e5c3d6a5d
commit
f64f03ed46
Loading…
Reference in new issue