Is there any way I can use default scope like active record?
https://apidock.com/rails/ActiveRecord/Scoping/Default/ClassMethods/default_scope
Or any other with which I can exclude nodes from any query?
neo4jrb does not yet support a default scope. There is already an open issue for that.
If you are using the Enterprise Edition of neo4j, you can create custom user roles that are configured to have access to specific procedures. A neo4j user assigned a given custom role is therefore only able to do whatever that role's procedures permit.