try #2 at making panel use has_staff_role plugin for access, and using library slug for context