From 1697837ce27f79376be9498073b857afa59df354 Mon Sep 17 00:00:00 2001 From: Oliver Lyak ly4k <53348818+ly4k@users.noreply.github.com> Date: Thu, 28 Jul 2022 01:59:51 +0200 Subject: [PATCH] Added ESC9 --- .gitignore | 3 ++- package-lock.json | 4 ++-- package.json | 2 +- src/components/SearchContainer/Tabs/TemplateNodeData.jsx | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 476fb472..d1213a1a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ npm-debug.log *.csv graph.json .DS_Store -.idea \ No newline at end of file +.idea +build.sh diff --git a/package-lock.json b/package-lock.json index 75aaeb7f..43f73196 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bloodhound", - "version": "4.2.0", + "version": "4.2.0-ly4k", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bloodhound", - "version": "4.2.0", + "version": "4.2.0-ly4k", "license": "GPL-3.0", "dependencies": { "@fortawesome/fontawesome-free": "^6.1.1", diff --git a/package.json b/package.json index 0f0dd44f..5afb00ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bloodhound", - "version": "4.2.0", + "version": "4.2.0-ly4k", "description": "Graph Theory for Active Directory", "prettier": { "tabWidth": 4, diff --git a/src/components/SearchContainer/Tabs/TemplateNodeData.jsx b/src/components/SearchContainer/Tabs/TemplateNodeData.jsx index 80ec75a9..f4d40213 100644 --- a/src/components/SearchContainer/Tabs/TemplateNodeData.jsx +++ b/src/components/SearchContainer/Tabs/TemplateNodeData.jsx @@ -139,7 +139,7 @@ const TemplateNodeData = () => { property='First Degree Enrollment Rights' target={objectid} baseQuery={ - 'MATCH p=(n)-[r:AutoEnroll|Enroll]->(u1:CertificateTemplate {objectid: $objectid}) WHERE r.isacl=true' + 'MATCH p=(n)-[r:AutoEnroll|Enroll|GenericAll]->(u1:CertificateTemplate {objectid: $objectid}) WHERE r.isacl=true' } end={label} distinct @@ -148,7 +148,7 @@ const TemplateNodeData = () => { property='Group Delegated Enrollment Rights' target={objectid} baseQuery={ - 'MATCH p=(n)-[r:MemberOf*1..]->(g:Group)-[r1:AutoEnroll|Enroll]->(u:CertificateTemplate {objectid: $objectid}) WITH LENGTH(p) as pathLength, p, n WHERE NONE (x in NODES(p)[1..(pathLength-1)] WHERE x.objectid = u.objectid) AND NOT n.objectid = u.objectid' + 'MATCH p=(n)-[r:MemberOf*1..]->(g:Group)-[r1:AutoEnroll|Enroll|GenericAll]->(u:CertificateTemplate {objectid: $objectid}) WITH LENGTH(p) as pathLength, p, n WHERE NONE (x in NODES(p)[1..(pathLength-1)] WHERE x.objectid = u.objectid) AND NOT n.objectid = u.objectid' } end={label} distinct