I'm building some modal pages using the
use-ajax class plus the
data-dialog-type="modal" attribute on link tags. It worked great as an admin user, but logging in as a different role(call it
parent) and the links go directly to the pages.
It's pretty obvious from the sources panel in web inspector that the
dialog.jquery-ui.js, dialog.js, dialog.position.js, etc).
I've tried this in my custom theme and in bartik, same result.