class StatusPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "VIEW_PROJECT_STATUS", description = "Stakeholders should be able to view current status of project from competition assigned to them")
    public boolean assignedStakeholderCanViewProjectStatus(ProjectResource project, UserResource user){
        return userIsStakeholderInCompetition(project.getCompetition(), user.getId());
    }

}