Merge pull request #567 from navi-infra/INFRA-1890
INFRA-1890 | Ashvin | Allow wildcard match on team
This commit is contained in:
@@ -22,7 +22,7 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
||||
}
|
||||
|
||||
private static boolean matchTeam(String teamName, String authTeam) {
|
||||
return teamName.equals(authTeam);
|
||||
return authTeam.equals(".*") || authTeam.equals(teamName);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user