fix(basic.gblib): ALLOW ROLE return people.
This commit is contained in:
parent
81ec80b516
commit
0e7775cef6
1 changed files with 5 additions and 17 deletions
|
@ -1249,14 +1249,8 @@ export class SystemKeywords {
|
||||||
|
|
||||||
switch (filter.operator) {
|
switch (filter.operator) {
|
||||||
case '=':
|
case '=':
|
||||||
if (wholeWord) {
|
if (v1 === v2) {
|
||||||
if (v1 === v2) {
|
filterAcceptCount++;
|
||||||
filterAcceptCount++;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (v2.indexOf(v1) > -1) {
|
|
||||||
filterAcceptCount++;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '<>':
|
case '<>':
|
||||||
|
@ -1265,14 +1259,8 @@ export class SystemKeywords {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'not in':
|
case 'not in':
|
||||||
if (wholeWord) {
|
if (v1.indexOf(v2) === -1) {
|
||||||
if (v1 !== v2) {
|
filterAcceptCount++;
|
||||||
filterAcceptCount++;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (v2.indexOf(v1) === -1) {
|
|
||||||
filterAcceptCount++;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'in':
|
case 'in':
|
||||||
|
@ -1281,7 +1269,7 @@ export class SystemKeywords {
|
||||||
filterAcceptCount++;
|
filterAcceptCount++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (v2.indexOf(v1) > -1) {
|
if (v1.indexOf(v2) > -1) {
|
||||||
filterAcceptCount++;
|
filterAcceptCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue