added checker for approve permission