Prod: Moodle 3.1.4
Test: Moodle 3.1.2
Issue: In Prod, When a teacher looks at their course pages, they don't see a block that is set to be visible on every course page. However, when they click the Edit Page button, the block is visible. When an admin (even having switched to Teacher Role) views the page, the block is always visible. In our Test environment, the block is always visible. The code, which is available to us, but we are not going to edit it doesn't have anything to indicate that the block should be visible only when editing, but does check if there are Edit permissions for that page, and displays links on it based on this.
In our Test environment, the block displays as expected (always for Admin, and teachers)
Has anyone seen this behavior in blocks before?