I'm trying to figure out if allowing "power users" who are not database 
admins to change node constraints is a good idea.

Let's say I have a frontend web application that communicates with neo4j 
through nodejs app server. 
This is a CRM-like web application that allows users to be able to create 
new entity "Customer" and then add relationship to existing "Office 
Location".
If Office Location does not exist, user may create it through the web form 
by filling out information such as "Address", "Coordinates", etc.

Now, I would like to add an feature that would let "power users" to be able 
to add new attributes to any entity type and set property existence 
constraints and unique property constraints through the web app's Admin 
page. 
Once those are set, normal users will now see new input fields in the web 
form to be filled out. 

I only have a little bit of experience in relational database, but my gut 
feeling tells me it is not generally a good practice to allow end users to 
be able to change database constraints. 
Is it a bad practice? How are things usually done in these kind of 
situation? Or am I trying to achieve too much flexibility?

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to