NXP-11587: Make sure variables used in finally are assigned
Merge branch 'feature-NXP-11587-test-permission-hierarchy'