.......... [ZBXNEXT-1343] removed useless code; removed unused constants PERM_RES_IDS_ARRAY and PERM_RES_DATA_ARRAY