From d7569684f602cf21c9dc483c2759674e550c1968 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Wed, 18 Oct 2023 12:16:05 +0800 Subject: [PATCH] Local admin can edit its org user's other fields 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 7c8ceff3..9fcf299a 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -205,7 +205,7 @@ class UserEditPage extends React.Component { } isSelfOrAdmin() { - return this.isSelf() || Setting.isAdminUser(this.props.account); + return this.isSelf() || Setting.isLocalAdminUser(this.props.account); } getCountryCode() {