Add getPermissionForTitle method to use in ViewEntityAction

Change-Id: Ia56f00ffc1338ab1320e5b38446240b3ee360519
Merge "Add getPermissionForTitle method to use in ViewEntityAction"