2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Add expiration to more places

This commit is contained in:
Jarrod Johnson 2019-07-09 13:22:16 -04:00
parent a787ac62c3
commit bfd0de1a4a
2 changed files with 2 additions and 0 deletions

View File

@ -1280,6 +1280,7 @@ class UserCollection(ConfluentMessage):
entry = {
'uid': user['uid'],
'username': user['name'],
'expiration': user.get('expiration', None),
'privilege_level': user['access']['privilege_level']
}
userlist.append(entry)

View File

@ -613,6 +613,7 @@ class IpmiHandler(object):
uid=data['uid'],
username=data['name'],
privilege_level=data['access']['privilege_level'],
expiration=data.get('expiration', None),
name=self.node))
return
elif self.op == 'update':