Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api): change FiatPermissionEvaluator to implement UserPermis…
…sionEvaluator instead of PermissionEvaluator, and mark public boolean hasPermission( String username, Serializable resourceName, String resourceType, Object authorization) as @OverRide. This makes this method available to e.g. S3ArtifactStoreGetter so it can authenticate by user. In some pipeline execution scenarios in orca (e.g. using #fetchReference in an Evaluate Variables stage), this is necessary since SecurityContextHolder.getContext() is null.
- Loading branch information