mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-22 10:15:47 +08:00
Local admin can edit its org user's other fields now
This commit is contained in:
parent
a616127909
commit
d7569684f6
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user