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