Renamed getPermission to getPermissionKey