Skip to content

v4.6.1#177

Merged
theborch merged 3 commits into
mainfrom
develop
Jul 8, 2026
Merged

v4.6.1#177
theborch merged 3 commits into
mainfrom
develop

Conversation

@theborch

@theborch theborch commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Bug Fixes:

  • Added the missing optional headers argument to my_requests.[list|approval_request_status|request_approval|request_approval_by_name|withdraw_approval_request|withdraw_approval_request_by_name] and my_approvals.[list|approve_request|reject_request], so custom headers (e.g. X-On-Behalf-Of) propagate through the approval flow as they already do for my_access/my_resources.
  • Fixed my_requests.list and my_approvals.list to request the approvals collection with a trailing slash (/v1/approvals/); without it the request 302-redirected and was rejected at the edge.

Turtdle and others added 3 commits July 7, 2026 12:43
The my_requests and my_approvals approval methods lacked a `headers`
argument, so callers could not pass custom headers (e.g. X-On-Behalf-Of)
the way my_access/my_resources already allow -- breaking on-behalf-of
through the approval flow. Add the optional `headers` argument across
my_requests.* and my_approvals.*.

Also fix my_requests.list / my_approvals.list to request the approvals
collection with a trailing slash (/v1/approvals/); without it the request
302-redirected and was rejected at the edge.
@theborch theborch self-assigned this Jul 8, 2026
@theborch
theborch merged commit 85ccf2f into main Jul 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants