Refactor dataset require_access! and require_admin! into concern.