I assume this was a function that never got written...

Do we want a `depend_on_permission` or whatever? Or does `depend_on_model` suffice?