I made attempt to limit access to the filesystem by editing the Media Source Admin Policy Access Permissions.
Every thing went fine till I tried to select a policy. There are none. OK, search the forum (cuz I know I saw this recently) and find a couple threads. In one, it's solved by reinstalling. In one, it's solved some other way (didn't try it, didn't look at the referenced thread).
I check into the policies, to find that the Resource Admin policy, based on the Resource Admin Template has no policies at all. Upon checking, none are even included in the policy, thus none can be selected. The Resource AdminTemplate also contains no policies.
The Resource User policy however, has 3 of 7 policies selected. It is based on the Resource User template which contains 7 total policies.
Recap - Unable to add resource group because no Media Source Policies show up:
Policies
Media Source AdminTemplate - Media Source administration policy. - Admin - 0
MediaSourceTemplate - Media Source Policy Template with all attributes. - MediaSource - 7
Templates
Media Source Admin - Media Source administration policy. - Media Source AdminTemplate - (this column is blank)
Media Source User - Media Source user policy, with basic... - AdministratorTemplate - 3 of 172
So I proceeded to log into three other 2.2.5 installations to check.
First Installation - Able to add resource group and select from Media Source Policies:
Policies
Media Source Admin - Media Source administration policy. - MediaSourceTemplate - 7 of 7
Media Source User - Media Source user policy, with basi... - MediaSourceTemplate - 3 of 7
Templates
Media Source AdminTemplate - Media Source administration policy. - Admin - 0
MediaSourceTemplate - Media Source Policy Template with all attributes. - MediaSource - 7
Second Installation - Able to add resource group and select from Media Source Policies:
Policies
Media Source Admin - Media Source administration policy. - MediaSourceTemplate - 7 of 7
Media Source User - Media Source user policy, with basi... - MediaSourceTemplate - 3 of 7
Templates
Media Source AdminTemplate - Media Source administration policy. - Admin - 0
MediaSourceTemplate - Media Source Policy Template with all attributes.- MediaSource - 7
OK, so far so good. They're both the same but Admin template says 0. That's odd.
Third Installation - Able to add resource group and select from Media Source Policies:
Policies
Media Source Admin - Media Source administration policy. - MediaSourceTemplate - 7 of 7
Media Source User - Media Source user policy, with basic... - MediaSourceTemplate - 3 of 7
Template (note, not plural)
MediaSourceTemplate - Media Source Policy Template with all attributes. - MediaSource - 7
Each site was upgraded in the exact same way. Cleared cache, logged out, core/cache cleared, zip uploaded, files unpacked on the server, run setup.
Now my question is, since there is no Media Source AdminTemplate to look at, are the policies from the Media Source UserTemplate the ones that should be there? And, 7 of 7 should be selected, correct?
My concern is that out of 4 installations, two are completely different than the other two. One is missing a policy template entirely, one is using an administrator template, and all of them that have AdministratorTemplates, none are selected (0).
While I know it's possible to change these, I am certain that I've not touched Media Sources in any but the First Installation site. Furthermore, I'm fairly certain that I did not uncheck 169 out of 173 admin policies, ever. Nope, I'd rather eat glass than ever do that.
Is this a bug or an installation error? If an installation error, then why if everything is done identically at upgrade?
Only two of these installations are on the same server, one of which is working, one is wonked.