Add Properties to user.

This commit is contained in:
Yang Luo
2021-05-30 15:13:43 +08:00
parent badd75b894
commit dc89f2b0f6
5 changed files with 44 additions and 9 deletions

View File

@ -44,7 +44,7 @@ class UserListPage extends React.Component {
newUser() {
return {
owner: "admin", // this.props.account.username,
owner: "built-in", // this.props.account.username,
name: `user_${this.state.users.length}`,
createdTime: moment().format(),
type: "normal-user",
@ -58,6 +58,7 @@ class UserListPage extends React.Component {
isAdmin: false,
isGlobalAdmin: false,
IsForbidden: false,
properties: {},
}
}