NXP-15345: check needed permissions before reading and writing lifecycle properties