Hello Everyone.
Oracle 19c / ArcGIS Pro 3.2 / eGDB 11.1
I wish to have one sde connection file to have read-only access to data across multiple schema to export them via arcpy to a fGDB. With the aim to make a nightly export.
I have read the documentation: Grant and revoke dataset privileges in databases and enterprise geodatabases—ArcGIS Pro | Documentation
Basically I want one role to rule them all 🙂
Note: Not our real database structure.
AREA1 - user / schema
FC1
TAB1
AREA2 - user / schema
FC1
FC2
TAB1
AREA3- user / schema
FC1
FC2
TAB1
TAB2
Question 1
Can I just create a User BACKUP_DB, create a Role backup_data_read_role. Then assign that Role to each Feature Class (FC) or Table (TAB) in each Schema. Then have just one .sde connection file connecting as BACKUP_DB / PW to be used in my arcpy script?
Question 2
I assume I have to login to each Schema separately AREA1, AREA2, AREA3 and assign the Feature Classes and Tables to the Role backup_data_read_role? Can you in the ESRI world assign a Role to data in different Schema?
Question 3
Is there a better approach to achieve my results?
Feedback appreciated. Before I make too many mistakes 🙂