From 9ea77c63d1cddab35cae2d37941ce23a54a001f8 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Tue, 17 Oct 2023 18:23:39 +0800 Subject: [PATCH] Local admin can edit its org users now --- web/src/UserEditPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js index e8e0a9df..7c8ceff3 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -241,7 +241,7 @@ class UserEditPage extends React.Component { return null; } - const isAdmin = Setting.isAdminUser(this.props.account); + const isAdmin = Setting.isLocalAdminUser(this.props.account); if (accountItem.viewRule === "Self") { if (!this.isSelfOrAdmin()) {