According to the theory, "most gdb users are data users who read and edit datasets but do not create or manage them." However, when we create a data user or data owner there is not really a difference, meaning we use the same tool "Create database user". The problem is that a data user has the capacity of creating data in the geodatabase even thought this user should not. So, the question is: is there a way to restrict the data user so this user cannot create new data (feature classes, tables, etc.) in the geodatabase?
I have been looking the gp tools, and have not found a parameter that does this...
Solved! Go to Solution.
Hello @ErikaJimenez_Rivera1
You can find how to create an editor and viewer user in my database guide books in the link below.
community.esri.com - Mapping and Charting Solutions (MCS) Enterprise Databases Best Practices
Read the "Production Mapping" guide book series in the link above.
The editor user will have "select, insert, update, delete" on the tables of the data owner user, and the viewer user will have "select" on the tables of the data owner user.
This configuration is known for over 25 years, since the enterprise geodatabase was first released back in 1998.
The guide books are just the start point for best practices, you can download my database template scripts in the same link above, the templates have a lot more best practices.
Also, please read the "database connections best practices" in the link below as well.
community.esri.com - Database Connections Best Practices
Notes:
I hope this helps.
When creating a user using the "Create Database User" GP tool, this will inherently give the new user the ability to create their own data in their own schema. This is expected behavior. You would need to use the database backend to remove certain permissions that will not allow this new user the ability to create data.
Another option, which is best, in most cases is the following:
https://desktop.arcgis.com/en/arcmap/latest/manage-data/databases/privileges-db-sqlserver.htm
Marlon
Hello @ErikaJimenez_Rivera1
You can find how to create an editor and viewer user in my database guide books in the link below.
community.esri.com - Mapping and Charting Solutions (MCS) Enterprise Databases Best Practices
Read the "Production Mapping" guide book series in the link above.
The editor user will have "select, insert, update, delete" on the tables of the data owner user, and the viewer user will have "select" on the tables of the data owner user.
This configuration is known for over 25 years, since the enterprise geodatabase was first released back in 1998.
The guide books are just the start point for best practices, you can download my database template scripts in the same link above, the templates have a lot more best practices.
Also, please read the "database connections best practices" in the link below as well.
community.esri.com - Database Connections Best Practices
Notes:
I hope this helps.