Skip to content

Commit

Permalink
fix(acl): normalize user and group names to lowercase in ACL listing
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Jan 22, 2025
1 parent 56f124a commit 288cfbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imageroot/actions/list-acl-subjects/10list_acl_subjects
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ try:
for euser in ldapclient.list_users():
hdest[euser['user']] = {
'dtype': 'user',
'name': euser['user'],
'name': euser['user'].lower(),
'ui_name': euser['display_name'],
}

for egroup in ldapclient.list_groups():
hdest[egroup['group']] = {
'dtype': 'group',
'name': egroup['group'],
'name': egroup['group'].lower(),
'ui_name': egroup['description'],
}

Expand Down

0 comments on commit 288cfbf

Please sign in to comment.