I created a view in our DEV environment (based on two tables) and added the view as a datasource to a form. Everything works great.
I migrated my changes to our UAT environment (by coping our model files). In the UAT environment, the required role gets an error "You are not authorized.." on the new view when trying to open the form.
If I right click on the View in DEV and look at associated security roles, everything is as I would expect. In UAT, doing this shows no roles. However, in UAT, the roles I expect have access to the two tables that are used in the View.
Do I have to somehow explicitly give access to the View? I thought access was based on the tables that are used in the View. Do I have to rebuild security in UAT after copying the model files from DEV? (I did a full compile and database sync.)
Using an account that has SysAdmin privileges, the form with this view is fine in UAT and I can open the View in the AOT and get the results I expect.
Any ideas?