cancel
Showing results for 
Search instead for 
Did you mean: 

Movie Database: db.schema.nodeTypeProperties() Not allowed for user neo4j with roles[]

james_mireles
Node Link

When running call db.schema.nodeTypeProperties() on the Movie database, Neo4J returns the following error:

Neo.ClientError.Security.Forbidden

Database access is not allowed for user 'neo4j' with roles [].

This call works on the other databases I've created in Neo4J Desktop. Just not on the pre-installed Movie database. Probably something simple...

Neo4j Browser version: 4.1.0
Neo4j Desktop 1.3.0

(I've looked at https://community.neo4j.com/t/neo-clienterror-security-forbidden-read-operations-are-not-allowed-for... and https://community.neo4j.com/t/write-operations-are-not-allowed-for-user-neo4j-with-full-restricted-t... and not been able to figure out the solution there.)

Regards,

James Mireles

5 REPLIES 5

dominicvivek06
Graph Fellow

can you switch to system database, and provide me the result of list users and roles ?

https://neo4j.com/docs/cypher-manual/current/administration/security/users-and-roles/index.html#admi...

To both the Movie database and to the System database I show

Connected as
Username: neo4j
Roles: (No roles)

In the Neo4J Browser, SHOW USERS, SHOW ROLES, and SHOW ALL ROLES all return

Neo.ClientError.Security.Forbidden

Permission denied.

james_mireles
Node Link

@dominicvivek06, any insights on this?

Hi @james.mireles - do you get Permission denied in the system database as well ?

Can you create new databases from system database ?

If you want to work on the movie database now, and debug later on your permission issue, i would suggest,
go to https://sandbox.neo4j.com/ and create an empty database.

once all setup is done, execute
:play movie-graph

This will save time for you, if you are currently in learning process.

my 2 cents.

Hi, @dominicvivek06,

call db.schema.nodeTypeProperties() does not return an error on the System database. I do not have problems with the other two I've created at this point. I can query them successfully.

Much obliged for your assist.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.