When installing my managed package into a test org I get the following error:
System.NoAccessException: Entity is not api accessible
This error is coming when accessing a map with the following key => value pair:
Group.SObjectType => GroupsSelector.class
My understanding is that the Group Object is accessible by all users via the API. Also, this error is coming during the post-install, not from failed tests.
Why would I get this error on install? Does the "special" install user not have access to this object at install?