Skip to content

Commit

Permalink
Make sure studio can mark a production as recorded
Browse files Browse the repository at this point in the history
This should have been part of
6304a8f. But unfortunately that
commit only deals with the client side auth and forgot about the
server side auth.
  • Loading branch information
egli committed Aug 11, 2023
1 parent b3c09e4 commit 7fc1b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/mdr2/routes/services.clj
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
{:post {:summary "Mark a production as recorded, i.e. ready to be encoded"
:middleware [wrap-restricted wrap-authorized]
:swagger {:security [{:apiAuth []}]}
:authorized #{:admin :it}
:authorized #{:admin :studio :it}
:parameters {:path {:id int?}}
:handler (fn [{{{:keys [id]} :path} :parameters
{user :user} :identity}]
Expand Down

0 comments on commit 7fc1b08

Please sign in to comment.