Add creation timestamp and consent version to UserEdit

Add information about the user to UserEdit
- creation timestamp
- consent version
This commit is contained in:
dklimpel
2020-06-16 09:24:49 +02:00
committed by Manuel Stahl
parent 168e249296
commit 627f3d2917
4 changed files with 19 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ const resourceMap = {
is_guest: !!u.is_guest,
admin: !!u.admin,
deactivated: !!u.deactivated,
// need timestamp in milliseconds
creation_ts: u.creation_ts * 1000,
}),
data: "users",
total: (json, from, perPage) => {