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:
parent
a787ac62c3
commit
bfd0de1a4a
@ -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)
|
||||
|
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user