mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-22 18:25: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() {
|
isSelfOrAdmin() {
|
||||||
return this.isSelf() || Setting.isAdminUser(this.props.account);
|
return this.isSelf() || Setting.isLocalAdminUser(this.props.account);
|
||||||
}
|
}
|
||||||
|
|
||||||
getCountryCode() {
|
getCountryCode() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user