Skip to content

Commit

Permalink
Change IsAllowedEngine func to return true when packageEnforcementEna…
Browse files Browse the repository at this point in the history
…bled is set to false because that means that user has license for everything
  • Loading branch information
BenAlvo1 committed Nov 28, 2024
1 parent 2ace444 commit b09e546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/wrappers/jwt-helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (*JWTStruct) IsAllowedEngine(engine string, featureFlagsWrapper FeatureFlag
}
}
}
return false, nil
return true, nil
}

func prepareEngines(engines []string) map[string]bool {
Expand Down

0 comments on commit b09e546

Please sign in to comment.