Tags: rpajay/fiat
Tags
fix: Application name mismatch when fiat permissions coming from diff… …erent sources. #5156 (spinnaker#512) This is part of: spinnaker/spinnaker#5156. Fixed the name mismatch bug in ResourcePrefixPermissionSource.java Resource(Application) always returns the name in CAPITAL letters. Permission prefixes added in external sources in fiat-local.yml has the application name in lowercase letters. Modified the code to check these names with 1)prefix.equalsIgnoreCase(resource.getName()); 2) prefixWithoutStar = prefixWithoutStar.toUpperCase(); Modified the ResourcePrefixPermissionSourceSpec.java to fix the testcases. Co-authored-by: Adam Jordens <adam@jordens.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
chore(dependencies): Spring Boot 2.2.4 upgrade (spinnaker#548) * chore(dependencies): Spring Boot 2.2.3 upgrade
chore(dependencies): Reverting Spring Boot 2.2 upgrade (spinnaker#535) Revert "chore(dependencies): Upgrade Spring Boot to 2.2.1 (spinnaker#510)" This reverts commit d798ec0
fix(redis): only remove a key if it wouldn't be overwritten (spinnake… …r#529) Fixes a potential race condition persisting user permissions where previously we would remove the entire set of permissions for a resource, then write the current set. This changes to only remove the permissions if the updated UserPermission is empty for that resource type, and to write a new value and swap over the old value if there are Permissions so that an API request to load that UserPermission that overlaps with a refresh of the UserPermission in redis doesn't get less data than it should
fix(metrics-logs): Record permissionsCache caffeine metrics with Caff… …eineStatsCounter and add debug log when access denied to accounts (spinnaker#528) Debugging an intermittent access denied error to accounts. CaffeineStatsCounter pushes cache metrics to the registry and the debug log might give us a bit more insight
chore(dependencies): Upgrade Spring Boot to 2.2.1 (spinnaker#510) See spinnaker/spinnaker#5134 Dependent on spinnaker/kork#419 for a Spring Boot dependency upgrade
PreviousNext