@Override
    public List<PolicySummaryBean> listPlanPolicies(String orgId, String planId, String version)
            throws OrganizationNotFoundException, PlanVersionNotFoundException, NotAuthorizedException {
        securityContext.checkPermissionsOrDiscoverability(
                EntityType.PLAN,
                orgId,
                planId,
                version,
                Set.of(PermissionType.planView)
        );
        return planService.listPlanPolicies(orgId, planId, version);
    }
@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/rest-impl/src/main/java/io/apiman/manager/api/rest/impl/DeveloperPortalResourceImpl.java