I'm following this guide to learn how to create a simple block, and testing in Moodle 3.6.3.
I want my block to always be hidden from students. After several hours of attempts, I still cannot figure out how to do this. I've checked the access.php code for a couple of plugins that I know are hidden from students (demostudent and heatmap) and tried to use some of that code, but I can't get it to work.
Here's what my access.php file looks like, right now. As you can see, I even tried adding "CAP_PROHIBIT," but id didn't work.
Any help for this clueless newbie would be greatly appreciated.