Skip to content

Commit

Permalink
tmp: temporarily change rules to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlukasse authored Sep 26, 2024
1 parent 1e1f83d commit c5795b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ private boolean checkGen3Authorization(String teamProjectRole, String login) thr
JSONArray teamProjectAuthorizations = jsonObject.getJSONArray(teamProjectRole);
logger.debug("Found authorizations={}", teamProjectAuthorizations);
// We expect two authorization rules per teamproject:
if (teamProjectAuthorizations.length() != 2) {
logger.error("Two authorization rules expected for 'teamproject'={}, found={}", teamProjectRole,
if (teamProjectAuthorizations.length() != 3) {
logger.error("Three authorization rules expected for 'teamproject'={}, found={}", teamProjectRole,
teamProjectAuthorizations.length());
return false;
}
Expand Down

0 comments on commit c5795b3

Please sign in to comment.