neo4j-partners / azure-resource-manager-neo4j

Azure Resource Manager (ARM) Templates for Neo4j
Apache License 2.0
4 stars 4 forks source link

APOC Permissions #14

Closed benofben closed 1 year ago

benofben commented 2 years ago

Looks like there's an APOC permission issue that prevents it from starting. Anthony has a fix in a branch, though it's a pretty simple one liner. Need to update the templates and republish.

drumcircle commented 2 years ago

Branch where this has been fixes is called: feature/removed_ssl

echo Configuring extensions and security in neo4j.conf...
sed -i s~#dbms.unmanaged_extension_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged~dbms.unmanaged_extension_classes=com.neo4j.bloom.server=/bloom,semantics.extension=/rdf~g /etc/neo4j/neo4j.conf
sed -i s/#dbms.security.procedures.unrestricted=my.extensions.example,my.procedures.*/dbms.security.procedures.unrestricted=,jwt.security.*,apoc.*,gds.*,bloom.*,foo.*/g /etc/neo4j/neo4j.conf
sed -i s/gds.*,bloom.*/jwt.security.*,apoc.*,gds.*,bloom.*/g /etc/neo4j/neo4j.conf
sed -i '$a dbms.security.http_auth_allowlist=/,/browser.*,/bloom.*' /etc/neo4j/neo4j.conf
sed -i '$a dbms.security.procedures.allowlist=apoc.*,gds.*,bloom.*' /etc/neo4j/neo4j.conf
harshitsinghvi22 commented 1 year ago

this is implemented.