   :allowed-methods #{:get :post}
   :available-media-types ["application/json" "application/edn"]
   :known-content-type? #{"application/edn"}
-  :authorized? (authorized? store :programme)
-  :allowed? (allowed? store :programme)
+  :authorized? (authorized? store)
+  :allowed? (allowed? store)
   :handle-ok (partial index-handle-ok store)
   :post! (partial index-post! store)
   :handle-created (partial index-handle-created))

  (db/with-session [session (:hecuba-session store)]
    (let [request (:request ctx)
          items   (db/execute session (hayt/select :programmes))]
      (log/infof "index-handle-ok ctx: %s" ctx)
      (map #(-> %
                (dissoc :user_id)
                (assoc :href (format programme-resource (:id %))

  :allowed-methods #{:get}
  :available-media-types ["application/json" "application/edn"]
  :known-content-type? #{"application/edn"}
  :authorized? (authorized? store)
  :allowed? (allowed? store)  
  :exists? (partial resource-exists? store)
  :handle-ok (partial resource-handle-ok))
