NXP-10049: fix error after a user approves a document which he usually can't access