class ProjectPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ", description = "Competition finance users can see project resources")
    public boolean competitionFinanceUsersCanViewProjects(final ProjectResource project, final UserResource user) {
        return userIsExternalFinanceInCompetition(project.getCompetition(), user.getId());
    }

}