Commit ed1cec0a authored by root's avatar root
Browse files

Changes with datasetId parameters

parent a29441e9
......@@ -197,7 +197,7 @@ public class PolicyService {
if (lowerOrgKey.equals(lowerPolicyKey)){
result= this.checkParameter(orgKey, policyKey, organizationAttributesJson, accessPolicyAsJSON);
System.out.println(result);
// System.out.println(result);
bFind=true;
break;
}
......@@ -248,7 +248,9 @@ public class PolicyService {
try{
JSONArray jArray=accessPolicyAsJSON.getJSONArray(parameterPolicy);
if (jArray.toString().contains(sOrgValue)){
if ((jArray.length()==0)|| ((jArray.length()==1)&&(jArray.get(0).equals(""))))
result=true;
else if (jArray.toString().contains(sOrgValue)){
result=true;
// System.out.println("Is the same value?:"+result);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment