class ProjectPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "ADD_PARTNER", description = "The System Registration user can add a partner to a project")
    public boolean systemRegistrarCanAddPartnersToProject(final ProjectResource project, final UserResource user) {
        return isSystemRegistrationUser(user)
                && isProjectActive(project.getId());
    }

}