class StatusPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "VIEW_PROJECT_SETUP_COMPETITION_STATUS", description = "Innovation lead users should be able to access current status of competition that are assigned to them")
    public boolean assignedInnovationLeadCanViewCompetitionStatus(CompetitionResource competition, UserResource user){
        return userIsInnovationLeadOnCompetition(competition.getId(), user.getId());
    }

}