Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
99e5d212d3 | |||
387d213fe1 |
3 changed files with 53 additions and 3 deletions
48
ilot/authentik/12184_fix-impersonnate-api.patch
Normal file
48
ilot/authentik/12184_fix-impersonnate-api.patch
Normal file
|
@ -0,0 +1,48 @@
|
|||
From 7b88a0ba662a05076ee209f4b21caf9bed972b6a Mon Sep 17 00:00:00 2001
|
||||
From: Jens Langhammer <jens@goauthentik.io>
|
||||
Date: Mon, 25 Nov 2024 16:48:40 +0100
|
||||
Subject: [PATCH] web/admin: fix impersonate API call
|
||||
|
||||
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
||||
---
|
||||
web/src/admin/groups/RelatedUserList.ts | 1 +
|
||||
web/src/admin/users/UserListPage.ts | 1 +
|
||||
web/src/admin/users/UserViewPage.ts | 1 +
|
||||
3 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/web/src/admin/groups/RelatedUserList.ts b/web/src/admin/groups/RelatedUserList.ts
|
||||
index 72a9b62a1856..80474f5938e8 100644
|
||||
--- a/web/src/admin/groups/RelatedUserList.ts
|
||||
+++ b/web/src/admin/groups/RelatedUserList.ts
|
||||
@@ -219,6 +219,7 @@ export class RelatedUserList extends WithBrandConfig(WithCapabilitiesConfig(Tabl
|
||||
return new CoreApi(DEFAULT_CONFIG)
|
||||
.coreUsersImpersonateCreate({
|
||||
id: item.pk,
|
||||
+ impersonationRequest: { reason: "" },
|
||||
})
|
||||
.then(() => {
|
||||
window.location.href = "/";
|
||||
diff --git a/web/src/admin/users/UserListPage.ts b/web/src/admin/users/UserListPage.ts
|
||||
index 1264c00814fc..6b0f19a42e88 100644
|
||||
--- a/web/src/admin/users/UserListPage.ts
|
||||
+++ b/web/src/admin/users/UserListPage.ts
|
||||
@@ -272,6 +272,7 @@ export class UserListPage extends WithBrandConfig(WithCapabilitiesConfig(TablePa
|
||||
return new CoreApi(DEFAULT_CONFIG)
|
||||
.coreUsersImpersonateCreate({
|
||||
id: item.pk,
|
||||
+ impersonationRequest: { reason: "" },
|
||||
})
|
||||
.then(() => {
|
||||
window.location.href = "/";
|
||||
diff --git a/web/src/admin/users/UserViewPage.ts b/web/src/admin/users/UserViewPage.ts
|
||||
index 119ffdb3716a..83e2661e6294 100644
|
||||
--- a/web/src/admin/users/UserViewPage.ts
|
||||
+++ b/web/src/admin/users/UserViewPage.ts
|
||||
@@ -215,6 +215,7 @@ export class UserViewPage extends WithCapabilitiesConfig(AKElement) {
|
||||
return new CoreApi(DEFAULT_CONFIG)
|
||||
.coreUsersImpersonateCreate({
|
||||
id: user.pk,
|
||||
+ impersonationRequest: { reason: "" },
|
||||
})
|
||||
.then(() => {
|
||||
window.location.href = "/";
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=authentik
|
||||
pkgver=2024.8.6
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="An open-source Identity Provider focused on flexibility and versatility"
|
||||
url="https://github.com/goauthentik/authentik"
|
||||
# s390x: missing py3-celery py3-flower and py3-kombu
|
||||
|
@ -180,6 +180,7 @@ source="
|
|||
fix-ak-bash.patch
|
||||
root-settings-csrf_trusted_origins.patch
|
||||
go-downgrade-1.22.patch
|
||||
12184_fix-impersonnate-api.patch
|
||||
"
|
||||
builddir="$srcdir/"authentik-version-$pkgver
|
||||
subpackages="$pkgname-openrc $pkgname-doc $pkgname-pyc"
|
||||
|
@ -342,4 +343,5 @@ f1a3cb215b6210fa7d857a452a9f2bc4dc0520e49b9fa7027547cff093d740a7e2548f1bf1f8831f
|
|||
3e47db684a3f353dcecdb7bab8836b9d5198766735d77f676a51d952141a0cf9903fcb92e6306c48d2522d7a1f3028b37247fdc1dc74d4d6e043da7eb4f36d49 fix-ak-bash.patch
|
||||
5c60e54b6a7829d611af66f5cb8184a002b5ae927efbd024c054a7c176fcb9efcfbe5685279ffcf0390b0f0abb3bb03e02782c6867c2b38d1ad2d508aae83fa0 root-settings-csrf_trusted_origins.patch
|
||||
badff70b19aad79cf16046bd46cb62db25c2a8b85b2673ce7c44c42eb60d42f6fcb1b9a7a7236c00f24803b25d3c66a4d64423f7ce14a59763b8415db292a5b9 go-downgrade-1.22.patch
|
||||
5d409cb41d4a506df30618bdaf325188d304d879e2d23fe49277db6ae8fe9341803d7eee54c9a5dbdfa87267146ea1647995b2adb503fbf8f8c4d7f861ce9de6 12184_fix-impersonnate-api.patch
|
||||
"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=listmonk
|
||||
pkgver=4.0.1
|
||||
pkgver=4.1.0
|
||||
pkgrel=0
|
||||
pkgdesc='Self-hosted newsletter and mailing list manager with a modern dashboard'
|
||||
arch="all"
|
||||
|
@ -67,7 +67,7 @@ package() {
|
|||
ln -s /etc/listmonk/config.toml "$pkgdir"/usr/share/webapps/listmonk/config.toml
|
||||
}
|
||||
sha512sums="
|
||||
ae5c338b756bb9d84739ab8b04b591e33ee7f6a579725083ec95e2609dbff55adbd1f2a11c0487b971aa030a3a35347cf54966820e1320b4144351935b2497d8 listmonk-4.0.1.tar.gz
|
||||
936b33d6de1d69ee4e7f768810116ac997c516754aace0371089bc8106bebee944197864afc11b7bc5725afa9a4f195d6629957bfcdd37c847e3780aa34558ec listmonk-4.1.0.tar.gz
|
||||
939450af4b23708e3d23a5a88fad4c24b957090bdd21351a6dd520959e52e45e5fcac117a3eafa280d9506616dae39ad3943589571f008cac5abe1ffd8062424 listmonk.sh
|
||||
8e9c0b1f335c295fb741418246eb17c7566e5e4200a284c6483433e8ddbf5250aa692435211cf062ad1dfcdce3fae9148def28f03f2492d33fe5e66cbeebd4bd listmonk.openrc
|
||||
"
|
||||
|
|
Loading…
Add table
Reference in a new issue