From 69d12ffd63d8771e4513c5e534a32e068cc379cd Mon Sep 17 00:00:00 2001 From: Arnav Palnitkar Date: Thu, 7 Apr 2022 21:37:48 +0000 Subject: [PATCH 1/2] backport of commit 8fb2fca415669e0ad403b35e0030e6426c25f55a --- ui/app/models/auth-method.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/models/auth-method.js b/ui/app/models/auth-method.js index de82302c8509..ea73dd9031be 100644 --- a/ui/app/models/auth-method.js +++ b/ui/app/models/auth-method.js @@ -116,9 +116,9 @@ export default attachCapabilities(ModelExport, { deletePath: apiPath`sys/auth/${'id'}`, configPath: function (context) { if (context.type === 'aws') { - return apiPath`auth/${'id'}/config/client`; + return apiPath`auth/${'id'}/config/client`.call(this, context); } else { - return apiPath`auth/${'id'}/config`; + return apiPath`auth/${'id'}/config`.call(this, context); } }, }); From 319a0685389930d33bf13e71692db97a69cec6bf Mon Sep 17 00:00:00 2001 From: Arnav Palnitkar Date: Mon, 11 Apr 2022 17:19:43 +0000 Subject: [PATCH 2/2] backport of commit ee412d5289c1f5ba30302f8bafe9de5803682706 --- changelog/14966.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog/14966.txt diff --git a/changelog/14966.txt b/changelog/14966.txt new file mode 100644 index 000000000000..889294400a2c --- /dev/null +++ b/changelog/14966.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fixes edit auth method capabilities issue +``` \ No newline at end of file