class GrantClaimMaximumPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "MAX_FUNDING_LEVEL_OVERRIDDEN",
        description = "A user can see the grant claim maximums if they have an application for the competition")
    public boolean usersWithApplicationForCompetitionCanCheckMaxFundingLevelOverridden
        (CompetitionResource competition, UserResource user) {
        return usersRolesService.userHasApplicationForCompetition(user.getId(), competition.getId()).getSuccess();
    }

}