class StatusPermissionRules extends BasePermissionRules {

    @PermissionRule(
            value = "VIEW_TEAM_STATUS",
            description = "Stakeholders can see a team's status for a project on their competitions")
    public boolean stakeholdersCanViewTeamStatus(ProjectResource project, UserResource user) {
        return userIsStakeholderInCompetition(project.getCompetition(), user.getId());
    }

}