ui: batch permissions: show conditional buttons if at least one (not all) resource applies

part of [#62230654]
ui: media_resources/selection: also link to resource on thumbnail in table view

part of [#62230654]