Skip to content

Commit

Permalink
Update LocalAuth.pm
Browse files Browse the repository at this point in the history
Bug-fix in getUsersWithRoleForGroup .
  • Loading branch information
nataliaratnikova committed Feb 20, 2019
1 parent 625a1be commit ef06058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perl_lib/PHEDEX/Web/LocalAuth.pm
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ sub getUsersWithRoleForGroup {
local $/ = undef;
$json_people = <F>;
}
$people = decode_json($json_people);
foreach my $entry (@{$grouproles->{'result'}}) {
if ( $group eq ${$entry}[1] && $role eq ${$entry}[2] ) {
# look up user, assuming login name is unique:
Expand Down

0 comments on commit ef06058

Please sign in to comment.