Increase performance for restrictLoadingOfUnassignedViews setting
The restrictLoadingOfUnassignedViews setting in security.properties stops users without assigned access from using a direct link to access views, such as "Add or Edit Users". This has become an increasingly vital setting to enable to meet security requirements.
However, the performance cost at startup for it to generate an index is a big problem. We have seen up to 3-4 hour windows after a Tomcat restart where the application is not accessible.
I would like to see additional settings to control if and how the index is generated to improve performance. I understand that to accommodate customizations, this runs at startup. If this could create an index file to use that can be reused that would be preferable. We could run the startup during off hours after any customizations are made to generate the index and then use that generated file for all subsequent startups until we decide to generate the index again for a new change.
