[automerger skipped] Have proper permission check in getConfigForSubId
am: 9afe59bf1c  -s ours

Change-Id: Id0cd93f5d02cb2d2fcea9f77247fe53777f8940f