Fix the permission getting "/branches/{branchId}"