Permission issues

hello dear community. in my app i want to check if needed permissions ar granted or not. as you now on below api level 23 devices permissions are granted while installing and that is why it have to be all permissions granted when you launch the app. but in my situation i check with “are permissions granted” block and it returns false. what is wrong?
thank you