Further UI updates
This commit is contained in:
parent
a4a01e76c0
commit
08017c5111
4 changed files with 20 additions and 19 deletions
|
@ -533,7 +533,7 @@ class SuperUserServiceKeyManagement(ApiResource):
|
|||
}
|
||||
|
||||
@verify_not_prod
|
||||
@nickname('getServiceKeys')
|
||||
@nickname('listServiceKeys')
|
||||
@require_scope(scopes.SUPERUSER)
|
||||
def get(self):
|
||||
if SuperUserPermission().can():
|
||||
|
@ -655,8 +655,6 @@ class SuperUserServiceKey(ApiResource):
|
|||
except model.service_keys.ServiceKeyDoesNotExist:
|
||||
abort(404)
|
||||
|
||||
user = get_authenticated_user()
|
||||
|
||||
key_log_metadata = {
|
||||
'kid': key.kid,
|
||||
'service': key.service,
|
||||
|
|
Reference in a new issue